From 9d218c301f1b8c8e779325c87afd09e8d9488e23 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 1 Apr 2020 22:11:51 +0200 Subject: [PATCH] tests: Always run all tests That makes it easier to see which ones fail. --- tests/verify.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/verify.sh b/tests/verify.sh index 75167ca..411a10d 100755 --- a/tests/verify.sh +++ b/tests/verify.sh @@ -47,13 +47,16 @@ npm install axe-core chrome-remote-interface sizzle export TEST_OS=fedora-32 export TEST_AUDIT_NO_SELINUX=1 -# FIXME: testSessionRecordingShell fails -test/verify/check-login -tv --machine \$HOST:22 --browser \$HOST:9090 TestLogin.{testBasic,testExpired,testSELinuxRestrictedUser} +RC=0 + +# FIXME: testSessionRecordingShell fails +test/verify/check-login -tv --machine \$HOST:22 --browser \$HOST:9090 TestLogin.{testBasic,testExpired,testSELinuxRestrictedUser} || RC=1 -# check-menu is not @nondestructive yet, keep it last for t in networking-firewall sosreport storage-basic storage-ignored storage-partitions storage-used storage-lvm2 menu accounts; do - test/verify/check-\$t -tv --machine \$HOST:22 --browser \$HOST:9090 + test/verify/check-\$t -tv --machine \$HOST:22 --browser \$HOST:9090 || RC=1 done + +exit \$RC EOF # reset system changes from verify tests, for running this multiple times in a row