Commits on Source (6)
-
Simon McVittie authored
The download URL defaults to the public download URL and the version of pressure-vessel defaults to the latest standalone release, so we don't usually need to specify those two explicitly. In the case of PRESSURE_VESSEL_DOWNLOAD_URL, if it has been explicitly set, we still want to pass it in: the official CI does this to bypass the CDN that implements repo.steampowered.com and go directly to the origin server. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
After we have checked `ldlp is not None`, mypy can safely assume that it is indeed not None, but the same is not true for an attribute like `self.ld_library_path_runtime`, which could in principle be computed dynamically (even though in this case it isn't). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
tests: Use more default settings See merge request !62
-
Simon McVittie authored
tests: Reassure mypy that an Optional[str] cannot be None See merge request !63
-
Ludovico de Nittis authored
LD_PRELOAD usually contains libraries such as gameoverlayrenderer.so that can throw a warning if we try to preload them without adjusting them first. For this reason we unset LD_PRELOAD and pass its values as arguments for pressure-vessel-wrap, that will adjust them before launching the requested program/game. A similar thing was already done in pressure-vessel-unruntime, but we should do it at the very first opportunity to avoid preloading warnings every time we launch an external command. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
_v2-entry-point: Unset LD_PRELOAD before calling external commands See merge request !60
Showing
- common/_v2-entry-point 19 additions, 6 deletionscommon/_v2-entry-point
- tests/depot/pressure-vessel.py 2 additions, 5 deletionstests/depot/pressure-vessel.py
- tests/scout.sh 6 additions, 13 deletionstests/scout.sh
- tests/sniper.sh 6 additions, 13 deletionstests/sniper.sh
- tests/soldier.sh 6 additions, 13 deletionstests/soldier.sh