From 53b04a1c8e1b70056a2647b220f45ade86f5cec1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Aug 06 2020 13:27:06 +0000 Subject: test: Use run-tests This provides automatic retries for flake resistance, proper TAP output, and the `--exclude` option. --- diff --git a/tests/run-test.sh b/tests/run-test.sh index 5e9f2f4..d189dbd 100755 --- a/tests/run-test.sh +++ b/tests/run-test.sh @@ -14,9 +14,11 @@ npm install chrome-remote-interface sizzle export TEST_OS="${ID}-${VERSION_ID/./-}" export TEST_AUDIT_NO_SELINUX=1 +# FIXME: These cause "RuntimeError: RangeError: Maximum call stack size exceeded" in b.key_press(["\r"]) +EXCLUDES="--exclude TestApplication.testRunImageSystem --exclude TestApplication.testRunImageUser" + RC=0 -test/check-application -tv --machine 127.0.0.1:22 --browser 127.0.0.1:9090 \ - TestApplication.test{BasicSystem,BasicUser,DownloadImage,LifecycleOperationsUser,LifecycleOperationsSystem} || RC=$? +test/common/run-tests --trace --verbose --nondestructive --machine 127.0.0.1:22 --browser 127.0.0.1:9090 $EXCLUDES || RC=$? echo $RC > "$LOGS/exitcode" cp --verbose Test* "$LOGS" || true