run.sh: In case of error, also print the stderr log

Change-Id: I9a20bf2d755749b036788d7e2fce044a7f36eb2e
This commit is contained in:
Laurent Morichetti
2022-05-12 08:50:30 -07:00
zatwierdzone przez Laurent Morichetti
rodzic 37ab921f02
commit e1fa2cb5d5
+3
Wyświetl plik
@@ -83,7 +83,10 @@ eval_test() {
eval "$cmdline" 1>$test_trace 2>$test_name.err
is_failed=$?
if [ $is_failed != 0 ] ; then
echo "--- stdout ---"
cat $test_trace
echo "--- stderr ---"
cat $test_name.err
fi
if [ $IS_CI = 1 ] ; then
is_failed=0;