mkosi: Don't run slow tests by default

Instead, allow enabling it via an environment variable and do so
in CI.
This commit is contained in:
Daan De Meyer 2023-05-06 11:35:38 +02:00
parent fcb4ba6c14
commit 4bfcb6ba27
2 changed files with 2 additions and 1 deletions

View file

@ -86,6 +86,7 @@ jobs:
[Content]
Environment=CI_BUILD=1
DEFAULT_TIMEOUT_SEC=90
SLOW_TESTS=true
[Output]
KernelCommandLineExtra=systemd.unit=mkosi-check-and-shutdown.service

View file

@ -60,7 +60,7 @@ if [ ! -f "$BUILDDIR"/build.ninja ]; then
-D b_sanitize="${SANITIZERS:-none}"
-D install-tests=true
-D tests=unsafe
-D slow-tests=true
-D slow-tests="${SLOW_TESTS:-false}"
-D utmp=true
-D hibernate=true
-D ldconfig=true