From 53b04a1c8e1b70056a2647b220f45ade86f5cec1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 6 Aug 2020 10:54:54 +0200 Subject: [PATCH] test: Use run-tests This provides automatic retries for flake resistance, proper TAP output, and the `--exclude` option. --- tests/run-test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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