]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
run-integration-tests: show make command line executed
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Mar 2018 08:51:02 +0000 (09:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Mar 2018 14:45:47 +0000 (15:45 +0100)
That makes it much easier to figure out what to type to just run one
specific test for debugging.

test/run-integration-tests.sh

index 7d70be3fea6179f229110f0846d03c6e6f93cfe8..4afaa0909eee29047c510e1c7a17c5eb753c3033 100755 (executable)
@@ -16,9 +16,9 @@ FAILURES=0
 
 cd "$(dirname "$0")"
 for TEST in TEST-??-* ; do
-        echo -e "\n--x-- Starting $TEST --x--"
+        echo -e "\n--x-- Running $TEST --x--"
         set +e
-        make -C "$TEST" "BUILD_DIR=$BUILD_DIR" $args
+        ( set -x ; make -C "$TEST" "BUILD_DIR=$BUILD_DIR" $args )
         RESULT=$?
         set -e
         echo "--x-- Result of $TEST: $RESULT --x--"