Skip to content

Commit cb01abe

Browse files
committed
chore(test): add new "test_all"
to execute all "test_*" files in order
1 parent 75c64c1 commit cb01abe

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

test/test_all.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# This script is to run "dsync" generation on all test-cases
4+
5+
# fail on non-0 exit codes, which makes it more obvious if a test has failed
6+
set -e
7+
8+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
9+
10+
cd $SCRIPT_DIR
11+
12+
echo "Testing Generation"
13+
./test_generate.sh
14+
15+
# extra separator
16+
echo ""
17+
18+
echo "Testing Compiliation"
19+
./test_compile.sh

0 commit comments

Comments
 (0)