diff options
author | Luca Boccassi <bluca@debian.org> | 2024-08-14 23:49:10 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-08-15 10:39:51 +0200 |
commit | ddc91af4eaa32511f92c83b2c24d9cc0425fd5f5 (patch) | |
tree | 97597abcf826139c4b760e7e4b5cdb0a0dbc0d0e /test/integration-test-wrapper.py | |
parent | units: drop "-p" flag from agetty's login options (diff) | |
download | systemd-ddc91af4eaa32511f92c83b2c24d9cc0425fd5f5.tar.xz systemd-ddc91af4eaa32511f92c83b2c24d9cc0425fd5f5.zip |
test: add TEST_SKIP to mkosi integration test wrapper
Takes a space-separate list of test names, allows to skip one or more tests
Diffstat (limited to '')
-rwxr-xr-x | test/integration-test-wrapper.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py index 783c05f90b..09310437d7 100755 --- a/test/integration-test-wrapper.py +++ b/test/integration-test-wrapper.py @@ -61,6 +61,10 @@ def main(): print(f"TEST_NO_QEMU=1, skipping {args.name}", file=sys.stderr) exit(77) + if args.name in os.getenv("TEST_SKIP", "").split(): + print(f"Skipping {args.name} due to TEST_SKIP", file=sys.stderr) + exit(77) + keep_journal = os.getenv("TEST_SAVE_JOURNAL", "fail") shell = bool(int(os.getenv("TEST_SHELL", "0"))) |