Skip to content

Commit f4071c9

Browse files
committed
Enable 'pipefail' in scripts/generate_perf_results.sh
Fail when run_tests.py script execution fails
1 parent 7ae6346 commit f4071c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/generate_perf_results.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
set -o pipefail
2+
13
mkdir -p build/perf_stat_dir
24
python3 scripts/run_tests.py --running-type="performance" | tee build/perf_stat_dir/perf_log.txt
35
python3 scripts/create_perf_table.py --input build/perf_stat_dir/perf_log.txt --output build/perf_stat_dir

0 commit comments

Comments
 (0)