test: skip test-path on Salsa CI
Salsa is the Debian git forge. In the package build environment test-path always fails as we cannot set up cgroups and so the path unit fails to start. Skip the test in that environment. Unfortunately meson doesn't allow to skip individual tests by name.
This commit is contained in:
committed by
Luca Boccassi
parent
f7590e3cb4
commit
a0b0b670ab
@@ -339,6 +339,8 @@ const char *ci_environment(void) {
|
||||
return (ans = "github-actions");
|
||||
if (getenv("AUTOPKGTEST_ARTIFACTS") || getenv("AUTOPKGTEST_TMP"))
|
||||
return (ans = "autopkgtest");
|
||||
if (getenv("SALSA_CI_IMAGES"))
|
||||
return (ans = "salsa-ci");
|
||||
|
||||
FOREACH_STRING(var, "CI", "CONTINOUS_INTEGRATION") {
|
||||
/* Those vars are booleans according to Semaphore and Travis docs:
|
||||
|
||||
Reference in New Issue
Block a user