Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ci3/denoise
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ publish_log

# Handle non-zero exit status
if [ "$status" -ne 0 ]; then
echo -e "\nCommand exited with status $status. Dumping output:"
cat $outfile
if [ -t 1 ]; then
echo -e "\nCommand exited with status $status. Dumping output:"
cat $outfile
fi
echo -e ". ${red}failed${reset} ($time) ${log_info:-}"
else
echo -e ". ${green}done${reset} ($time)"
Expand Down
6 changes: 4 additions & 2 deletions ci3/run_test_cmd
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ function fail {
track_test $test_hash "$line"
track_test "failed_tests" "$line"
echo -e "$line"
cat $tmp_file
echo -e "$line"
if [ -t 1 ]; then
cat $tmp_file
echo -e "$line"
fi
exit $code
}

Expand Down