Skip to content

Commit 69c7ceb

Browse files
committed
Put set -e at the beginning of multicommand scripts
1 parent aa40669 commit 69c7ceb

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

scripts/test-all.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
22

3+
set -e
4+
35
./scripts/test.sh
46
./scripts/test-examples.sh

scripts/test-examples.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
mkdir -p examples/build
46
cd examples/build
57
cmake ..

scripts/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
mkdir -p tests/build
46
cd tests/build
57
cmake ..

0 commit comments

Comments
 (0)