- Sep 01, 2022
-
-
Simon McVittie authored
Previously we were only using it for pressure-vessel, but it's also useful to be able to write test scripts in Python for other things. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These weren't previously detected because we weren't running lint tools against tests/*.py, but a subsequent commit will fix that omission. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These are not raw strings, so we need to escape a single backslash as a double backslash. This wasn't previously detected because we weren't running lint tools against tests/*.py, but a subsequent commit will fix that omission. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 29, 2022
-
-
Ludovico de Nittis authored
Catch up documentation with reality See merge request !489
-
- Aug 25, 2022
-
-
Simon McVittie authored
The feature request https://github.com/ValveSoftware/steam-for-linux/issues/6046 was implemented in March 2022 releases of Steam. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Let's keep all the examples together. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is now the default in released versions, as part of the batch of quality-of-life changes in steamrt/tasks#145. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
As of 2022-08-25, the copy of scout in the GA Steam Client has a suitable version of s-r-launch-client, and the default branches of soldier, sniper, scout-on-soldier, Proton 7.0 and Proton experimental include the integration glue for s-r-launcher-interface-0. This lets us remove various warnings and caveats. Proton 6.0 and 5.13 will presumably never get this. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
shared-paths: Remove note about pre-202208 versions' behaviour See merge request !483
-
Simon McVittie authored
launch-client(1): Stop documenting older-version behaviour See merge request !478
-
- Aug 23, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 19, 2022
-
-
Simon McVittie authored
Fix various build-time test failures See merge request !488
-
Simon McVittie authored
I've seen intermittent test failures in this test (on OBS, not reproducible locally) and these messages are an attempt to narrow down where the problem is. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Otherwise, the debug information that we need to diagnose assertion failures can get lost, most notably g_test_message(). GLib's default GPrintFunc already flushes stdout, but our replacement didn't. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The infrastructure to build on heavy and medic is there, but we don't do that right now since their SDK images are not public. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This avoids nasty surprises when we try to do a release and find that one of these suites has regressed. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This fixes test failures on Steam Runtime 1½ 'heavy'. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We need to do this before the earliest point where we might g_debug(). This fixes corrupted TAP output during build-time tests on Steam Runtime 1½ 'heavy' when G_MESSAGES_DEBUG=all and at least one of stdin, stdout or stderr is a terminal. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
In GLib 2.48.x and older (before the addition of structured logging), g_log() messages ended up being written to stdout via write(), so reassigning the stdout variable didn't work. This resulted in our tests corrupting their machine-readable stdout on Steam Runtime 1½ 'heavy'. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
In some older GLib versions, _srt_global_setup_sysroots() can emit a debug message (because it calls subprocesses) which by default corrupts our structured output on stdout. Redirect logging to stderr before this can happen. This fixes build-time test failures on Steam Runtime 2 'soldier' (and presumably Debian 10). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is fine for its use in steam-runtime/setup.sh, but could be a problem if used more generally. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Recent versions of glibc (2.34+) are installed as a regular file ${libdir}/libc.so.6 instead of a symbolic link ${libdir}/libc.so.6 -> libc-2.x.so, which identify-library-abi doesn't handle. This fixes build-time test failures on Debian testing and other recent rolling releases. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
GLib < 2.70 would corrupt TAP output if given something like `g_test_message ("%s", "foo\nbar")`, which would come out as # foo bar Newer versions correctly log it as # foo # bar Forwarded: https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/38 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 16, 2022
-
-
Simon McVittie authored
Meson 0.63.1 has been released and fixes this regression. This reverts commit a6ce46cb. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 11, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Follow-ups from sharing /run/media etc. See merge request !485
-
- Aug 10, 2022
-
-
Simon McVittie authored
pressure-vessel uses this path internally, for the runtime, so we need to exclude it. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is the most important, and also the most likely to fail, of our three modes. TRANSIENT and FAKE are relatively simple, and are not our default, so they're a lower priority for unit testing. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that they act relative to a file descriptor, we can give them a mock root directory to work with. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This avoids needing to spread the /proc/self/root special case around, and is an enabler for unit-testing this function. Making pv_export_root_dirs_like_filesystem_host extern means it'll be easier to test. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We use this a lot, so it'll be good to have test coverage. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This reduces the chance of getting the three paths confused: we'll do all I/O relative to the fd, and only use the two paths to form bwrap arguments. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
pressure-vessel: Preserve X11 display number instead of redirecting it to :99 See merge request !484
-
- Aug 09, 2022
-
-
Simon McVittie authored
Suppose the user's "real" X11 display on the host is Xorg or Xwayland listening on :42, but they also have an Xvfb server listening on :99. If we change the X11 display number to the arbitrary value :99, and the Flatpak sandbox shares its network namespace with the host, then clients inside the Flatpak sandbox will prefer to connect to the abstract socket @/tmp/.X11-unix/X99 (which is Xvfb), rather than the filesystem-backed socket /tmp/.X11-unix/X99 in the sandbox (which is really /tmp/.X11-unix/X42 on the host, i.e. Xorg or Xwayland). If they're relying on Xauthority (MIT-MAGIC-COOKIE-1) for access control (as many display managers do), then this will fail, because we gave the sandboxed app access to the cookies for Xorg/Xwayland (rewriting their display number from 42 to 99 as we did so), but Xvfb does not accept those cookies. If we're relying on `xhost +"si:localuser:$(id -nu)"` for access control (as gdm does), then the Flatpak app will successfully (!) connect to whatever is on :99, for example Xvfb or Xephyr, which is rarely what anyone wants either. Resolves: https://github.com/flatpak/flatpak/issues/3357 Forwarded: https://github.com/flatpak/flatpak/pull/5034 Resolves: https://github.com/ValveSoftware/steam-runtime/issues/524 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 05, 2022
-
-
Simon McVittie authored
Rely on Meson 0.56.2 See merge request !462
-
- Aug 04, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 03, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-