Skip to content

Commit 7bb328c

Browse files
use pipefail to detect if job card fails
1 parent 325c261 commit 7bb328c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/run_compile.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22
set -eux
3+
set -o pipefail
34

45
echo "PID=$$"
56
SECONDS=0

tests/run_test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22
set -eux
3+
set -o pipefail
34

45
echo "PID=$$"
56
SECONDS=0

0 commit comments

Comments
 (0)