Skip to content

Commit 12d3a27

Browse files
committed
Adding warning message about status in case status is !=0
1 parent bfef937 commit 12d3a27

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

prodtests/full-system-test/gen_single_gpu_rtc_benchmark.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,9 @@ if [[ "$RUN_BENCHMARK" == "1" ]]; then
181181
echo "WARNING: gpu-reconstruction analyzer not found: $GPU_RECO_ANALYZER" >&2
182182
fi
183183

184+
if [[ "$status" -ne 0 ]]; then
185+
echo -e "\033[31m------\nWARNING: reconstruction workflow exited with code $status\n-----\033[0m" >&2
186+
fi
187+
184188
exit "$status"
185189
fi

0 commit comments

Comments
 (0)