Skip to content

Commit

Permalink
chore(test): add new "test_all"
Browse files Browse the repository at this point in the history
to execute all "test_*" files in order
  • Loading branch information
hasezoey committed Jan 2, 2024
1 parent fd5d5be commit 60cfa0b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/test_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# This script is to run "dsync" generation on all test-cases

# fail on non-0 exit codes, which makes it more obvious if a test has failed
set -e

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

cd $SCRIPT_DIR

echo "Testing Generation"
./test_generate.sh

# extra separator
echo ""

echo "Testing Compiliation"
./test_compile.sh

0 comments on commit 60cfa0b

Please sign in to comment.