[glib/wip/3v1n0/support-can-fail-tests: 6/8] ci: Show commands run from the test scripts




commit 5cd05a6545c6e2967d004d68f22ab8d62e748eea
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Oct 20 03:07:52 2022 +0200

    ci: Show commands run from the test scripts
    
    It allows better debugging in case of failures.

 .gitlab-ci/run-tests.sh  | 1 +
 .gitlab-ci/test-msys2.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index b63130a97c..73adb81a36 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
+set -x
 
 ./.gitlab-ci/check-missing-install-tag.py _build
 
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
index 5f9dcbd918..8b827c040f 100755
--- a/.gitlab-ci/test-msys2.sh
+++ b/.gitlab-ci/test-msys2.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-set -e
+set -ex
 
 export PATH="/c/msys64/$MSYSTEM/bin:$PATH"
 if [[ "$MSYSTEM" == "MINGW32" ]]; then


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]