diff --git a/test/README.testsuite b/test/README.testsuite index 3bff49f7bb..6320e9492a 100644 --- a/test/README.testsuite +++ b/test/README.testsuite @@ -237,6 +237,8 @@ or Debian's default kernel path and initrd are used by default.) A script will try to find your qemu binary. If you want to specify a different one with `$QEMU_BIN`. +`TEST_SKIP`: takes a space separated list of tests to skip. + ### Debugging the qemu image If you want to log in the testsuite virtual machine, use `TEST_SHELL=1` 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")))