Fix an intermittent failure in "tool flushing test"

The test (MatrixTranspose) and the tracer tool both write to stdout
which sometime causes a trace corruption.

Change the test to emit info messages to stderr instead of stdout,
leaving stdout for the tracer tool's exclusive use.

Change-Id: I18047dbcd9039b70dd24ef6e7e8e9d89b40bedd2
This commit is contained in:
Laurent Morichetti
2022-05-11 15:27:01 -07:00
committed by Laurent Morichetti
parent 24f8a50b20
commit bbe1db3810
3 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ eval_test() {
echo "test $test_number: $test_name \"$label\""
echo "CMD: \"$cmdline\""
test_runnum=$((test_runnum + 1))
eval "$cmdline" >$test_trace 2>&1
eval "$cmdline" 1>$test_trace 2>$test_name.err
is_failed=$?
if [ $is_failed != 0 ] ; then
cat $test_trace