From d6f436204f0c8c6ef4986c1b8ccff123f300cb34 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Mon, 15 Apr 2019 12:49:53 -0600 Subject: run BATS tests in Cirrus I'm running the BATS tests manually once in a while, and catching several problems each week that make it past the rest of CI. Since the BATS tests run at RPM gating time, we need to catch problems earlier. Try running the tests from Cirrus. Tests will be skipped on Ubuntu due to a too-ancient version of coreutils (8.28; the 'timeout -v' we use requires 8.29). Tests are run *after* integration tests, even though these take three minutes and would be nice to have fail quickly, because running before causes bizarre CI failures. Shrug. UPDATE: also fix run test, broken by #3311. Signed-off-by: Ed Santiago --- contrib/cirrus/system_test.sh | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) mode change 100755 => 120000 contrib/cirrus/system_test.sh (limited to 'contrib') diff --git a/contrib/cirrus/system_test.sh b/contrib/cirrus/system_test.sh deleted file mode 100755 index a2cc1af05..000000000 --- a/contrib/cirrus/system_test.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -set -e -source $(dirname $0)/lib.sh - -req_env_var GOSRC OS_RELEASE_ID OS_RELEASE_VER - -set -x -cd "$GOSRC" - -case "${OS_RELEASE_ID}" in - ubuntu) ;& # Continue to the next item - fedora) - make install.tools - make - make test-binaries - ;; - *) bad_os_id_ver ;; -esac - -make localsystem diff --git a/contrib/cirrus/system_test.sh b/contrib/cirrus/system_test.sh new file mode 120000 index 000000000..cbc481d6b --- /dev/null +++ b/contrib/cirrus/system_test.sh @@ -0,0 +1 @@ +integration_test.sh \ No newline at end of file -- cgit v1.2.3-54-g00ecf