]> git.saurik.com Git - apt.git/blobdiff - test/integration/run-tests
tests: check apt-get source release name switching with -t
[apt.git] / test / integration / run-tests
index c39a2ac68a16bef50d93a791c53e9dbd1aeed1d8..6c6a376116f88f9838727183f29e13ed332dcf57 100755 (executable)
@@ -46,7 +46,11 @@ for testcase in $(run-parts --list $DIR | grep '/test-'); do
        if ! ${testcase}; then
                FAIL=$((FAIL+1))
                FAILED_TESTS="$FAILED_TESTS $(basename $testcase)"
-               echo >&2 "$(basename $testcase) ... FAIL"
+               if [ "$MSGLEVEL" -le 2 ]; then
+                       printf >&2 "\n${CHIGH}Running $(basename $testcase) -> FAILED${CRESET}"
+               else
+                       echo >&2 "${CHIGH}Running $(basename $testcase) -> FAILED${CRESET}"
+               fi
        else
                PASS=$((PASS+1))
        fi