From 2c5382aafa2e7f36ddb13a61f557e1d232a4b4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dundar=20G=C3=B6c?= Date: Mon, 7 Feb 2022 14:29:47 +0100 Subject: [PATCH] ci: remove function run_test --- ci/common/suite.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ci/common/suite.sh b/ci/common/suite.sh index 8aa9232cdc..8f6d81e264 100644 --- a/ci/common/suite.sh +++ b/ci/common/suite.sh @@ -65,12 +65,6 @@ fail() { FAILED=1 } -run_test() { - local cmd="$1" - local test_name="$2" - eval "$cmd" || fail "$test_name" -} - ended_successfully() { if test -f "${FAIL_SUMMARY_FILE}" ; then echo 'Test failed, complete summary:' @@ -94,7 +88,7 @@ run_suite() { local suite_name="$2" enter_suite "$suite_name" - run_test "$command" "$suite_name" + eval "$command" || fail "$suite_name" exit_suite }