Skip to content

Commit 7c0dcde

Browse files
authored
Add shebang and strict mode to perf script (#471)
- add a `#!/usr/bin/env bash` shebang - enable `set -euo pipefail` for stricter error handling
1 parent df7bade commit 7c0dcde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/generate_perf_results.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
set -o pipefail
1+
#!/usr/bin/env bash
2+
set -euo pipefail
23

34
mkdir -p build/perf_stat_dir
45
python3 scripts/run_tests.py --running-type="performance" | tee build/perf_stat_dir/perf_log.txt

0 commit comments

Comments
 (0)