You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/02/24 04:47:52 UTC

[buildstream] 01/01: .github/run-ci.sh: Fix test suite to properly fail in CI

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/properly-fail-tests
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 095949f941299b487250e91795113cd8ab56cb69
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Thu Feb 24 13:46:54 2022 +0900

    .github/run-ci.sh: Fix test suite to properly fail in CI
    
    Silly typo was causing tests to pass even when they fail.
---
 .github/run-ci.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/run-ci.sh b/.github/run-ci.sh
index 264b9c1..f4395f6 100755
--- a/.github/run-ci.sh
+++ b/.github/run-ci.sh
@@ -97,7 +97,7 @@ function runServiceTest() {
 
 # Lazily ensure that the script exits when a command fails
 #
-set -x
+set -e
 
 if [ -z "${test_names}" ]; then
     runTest "lint"