From: Andrey Volk Date: Wed, 24 Jun 2020 17:22:58 +0000 (+0400) Subject: [Tests] Fix Drone CI capturing Address Sanitizer reports sent to stderr. X-Git-Tag: v1.10.4^2~16^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F711%2Fhead;p=thirdparty%2Ffreeswitch.git [Tests] Fix Drone CI capturing Address Sanitizer reports sent to stderr. --- diff --git a/tests/unit/test.sh b/tests/unit/test.sh index aebddc8cd2..89711ca99b 100755 --- a/tests/unit/test.sh +++ b/tests/unit/test.sh @@ -25,7 +25,7 @@ log="$TESTSUNITPATH/log_run-tests_${relativedir//\//!}!$file.html"; # Execute the test echo "Start executing $currenttestpath" -$currenttestpath | tee >(ansi2html > $log) ; +$currenttestpath 2>&1 | tee >(ansi2html > $log) ; exitstatus=${PIPESTATUS[0]} ; echo "End executing $currenttestpath" echo "Exit status is $exitstatus"