diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-03 11:22:25 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-03 11:22:25 +0900 |
| commit | ef07eff322a31ce0164283b531606e2827a64ded (patch) | |
| tree | 3a5120716daa8843f626a1ecc4c849e3dd503cc1 /tests/all.sh | |
| parent | 441a78966e5fa230290dec0f96651fe88f45c36b (diff) | |
| download | P4Dcc-ef07eff322a31ce0164283b531606e2827a64ded.tar.gz P4Dcc-ef07eff322a31ce0164283b531606e2827a64ded.tar.zst P4Dcc-ef07eff322a31ce0164283b531606e2827a64ded.zip | |
add tests
Diffstat (limited to 'tests/all.sh')
| -rw-r--r-- | tests/all.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/all.sh b/tests/all.sh new file mode 100644 index 0000000..4ff3688 --- /dev/null +++ b/tests/all.sh @@ -0,0 +1,16 @@ +set -e + +export p4dcc="../../../p4dcc" + +rm -rf tests/tmp +mkdir -p tests/tmp +for i in $(seq 1 999); do + testcase=$(printf '%03d' $i) + test_file="tests/$testcase.sh" + if [[ -f "$test_file" ]]; then + bash tests/run.sh "$testcase" + else + echo "All tests passed." + exit + fi +done |
