]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Tests] Fix Drone CI capturing Address Sanitizer reports sent to stderr. 711/head
authorAndrey Volk <andywolk@gmail.com>
Wed, 24 Jun 2020 17:22:58 +0000 (21:22 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 24 Jun 2020 17:23:53 +0000 (21:23 +0400)
tests/unit/test.sh

index aebddc8cd2584d30c4c8ba1811a1bb3a2be0cc2e..89711ca99bbcdcfe27ddd9898df6fa52fee461b2 100755 (executable)
@@ -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"