- Feb 19, 2024
-
-
Simon McVittie authored
There's no reason why this particularly needs to be pressure-vessel-specific, and since commit 7627197e "steam-runtime-tools: Separate out modules not in the shared library" we can share code between pressure-vessel/ and bin/ without enlarging the shared library. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Feb 09, 2024
-
-
Simon McVittie authored
This was implemented to interact correctly with the locking scheme used in bwrap(1) (which uses the non-OFD flavour of fnctl locks), but is otherwise unrelated to bwrap(1) or pressure-vessel. Moving this into common code will facilitate using it outside pressure-vessel, in particular when unpacking `ubuntu12_64/steam-runtime-sniper/`. While I'm changing the interface anyway, take the opportunity to rename the WRITE flag to EXCLUSIVE, which is clearer. Helps: steamrt/tasks#387 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 20, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 17, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 25, 2023
-
-
Simon McVittie authored
Only launcher.py actually needed this. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
It doesn't actually have anything to do with pressure-vessel any more. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
There's nothing pressure-vessel-specific about it. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 19, 2023
-
-
Simon McVittie authored
It doesn't actually call anything PV-specific. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 31, 2023
-
-
Simon McVittie authored
This allows doing: meson setup _build meson test -C _build without an intervening `meson compile` step. Previously, this would have failed because the tests require various helpers and fixtures, while some of the code under test also requires helper programs, and some of the code under test *is* a CLI program. For a project this small, there's no real need to distinguish precisely which programs are needed by which test: we can just assume that all tests need all programs, like Autotools would. Includes: https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/51 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 30, 2023
-
-
Simon McVittie authored
If we don't do this, we won't be able to give the tests proper dependencies on the helper programs that they use. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jun 01, 2023
-
-
Simon McVittie authored
The fragility of the dependency handling in tests/pressure-vessel/meson.build with scout's toolchain continues to be a mystery to me (especially since Meson wraps the dependency libraries in --begin-group/--end-group which should make the order irrelevant!). By experiment, keeping the current order and only linking one of these libraries seems to be the only thing that works. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Mar 10, 2023
-
-
Ludovico de Nittis authored
The installation guide for Homebrew encourages users to prepend Homebrew directory in the PATH environment variable. However, older versions of Homebrew used to install `ldconfig`, and other low-level tools, into the general Homebrew bin directory that was usually prepended into PATH. This created some potential issues to Pressure Vessel because we were unable to find the `ldconfig` that corresponded to the glibc that we imported into the container. As it was initially reported in https://github.com/ValveSoftware/steam-runtime/issues/569 With this commit we skip over all paths that are located under `/.linuxbrew/` to avoid unexpectedly picking up binaries from Homebrew. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Scout seems to be able to correctly link libelf even without the `--no-as-needed` workaround now. There is no need to keep it around. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 31, 2023
-
-
Simon McVittie authored
Debian's site.py has started using modern Python features and can no longer be imported successfully by Python 3.5, making it inconvenient to keep an old copy of python3.5 installed to run these tests unless we explicitly skip import of the site module. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 27, 2022
-
-
Simon McVittie authored
With a new enough Meson release, this lets you run something like meson devenv -C _build/host bin/steam-runtime-system-info and have it pick up the correct helpers directory. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This reduces duplication, and lets us set them from the most logical location: it is the helpers directory that builds our helper executables, so it makes sense for the helpers directory to be responsible for setting SRT_HELPERS_PATH. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- 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>
-
- Aug 19, 2022
-
-
Simon McVittie authored
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>
-
- Jul 27, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 26, 2022
-
-
Simon McVittie authored
This avoids it corrupting TAP machine-readable stdout in older versions of GLib. Putting _srt_tests_global_debug_log_to_stderr() in its own translation unit avoids dependency issues when linking statically, particularly in the scout environment. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 07, 2022
-
-
Simon McVittie authored
This can take more than 60s on heavily loaded autobuilders. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 20, 2021
-
-
Ludovico de Nittis authored
Steam is x86-specific, but the majority of steam-runtime-tools is architecture-agnostic. Adding one arbitrary non-x86 architecture gives us a way to evaluate how much work would be required if full support for some other architecture is needed in future. Using aarch64 seems the easiest non-x86 to test with real hardware, since the Raspberry Pi 4 is widely available. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 23, 2021
-
-
Simon McVittie authored
If we allow D-Bus activation to occur on a private instance of the session bus, checking xdg-desktop-portal can result in it starting all sorts of random desktop services (AT-SPI, gvfsd, gnome-keyring...) which really shouldn't be sharing a home directory with their "real" instances. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 06, 2021
-
-
Simon McVittie authored
This has almost full branch coverage. We don't currently cover the case where STEAM_COMPAT_CLIENT_INSTALL_PATH is not set, but that's trivial anyway (we treat all paths as not matching it). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 03, 2021
-
-
Simon McVittie authored
This will test us add coverage for some of its code. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 28, 2021
-
-
Simon McVittie authored
We were linking these both statically and dynamically, so it's anyone's guess which one would end up implementing each symbol. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Apr 30, 2021
-
-
Simon McVittie authored
This can be used to create directories, symlinks and zero-byte files, create files as a clone (hard-link or copy) of files in a reference directory, assert that files exist, set executable/non-executable permissions, and set files' modification times. When cloning files from a reference directory, the default is to use the same filename as the destination, but that can be overridden (for example to deal with inconvenient/non-Windows-friendly filenames). This is also actually slightly faster than pv_cheap_tree_copy(), presumably because the manifest is contiguous on-disk and the directories are not necessarily. Setting directories' modification times is implemented, but probably won't work in practice, because any files we create in the directory will alter its mtime. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Apr 22, 2021
-
-
Simon McVittie authored
This is no longer used. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 02, 2020
-
-
Simon McVittie authored
This sometimes takes longer than 30 seconds when several packages are built in parallel on OBS. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 28, 2020
-
-
Simon McVittie authored
This avoids duplicating it in the command-line tools. The test is still in tests/pressure-vessel/ for now, because it needs testutils.py, which uses its own location to find G_TEST_SRCDIR. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 21, 2020
-
-
Simon McVittie authored
In various places we now need to include <libglnx.h> first, so that glib-compat.h doesn't redefine g_steal_pointer() and g_clear_pointer(). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 09, 2020
-
-
Simon McVittie authored
This avoids them colliding with steam-runtime-tools' tests. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 25, 2020
-
-
Simon McVittie authored
It seems we're adding enough to this that 30s is no longer enough. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 18, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 04, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This lets us use the D-Bus session bus without interfering with user processes, even on CI systems that weren't already running one. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 29, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-