diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-05-01 15:15:12 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-05-01 15:15:12 +0200 |
commit | dc5dab268c5a39f4df5159b62d24a24a6e9fa988 (patch) | |
tree | 51b031888523e0df078988e16b55758be4b9cf0a /tests/run_all.sh | |
parent | 2381c52c690342f773a7cfa500387b6bfad76952 (diff) | |
download | ste-dc5dab268c5a39f4df5159b62d24a24a6e9fa988.tar.gz ste-dc5dab268c5a39f4df5159b62d24a24a6e9fa988.tar.bz2 ste-dc5dab268c5a39f4df5159b62d24a24a6e9fa988.zip |
tests: Make it easier to run a single test
Diffstat (limited to 'tests/run_all.sh')
-rwxr-xr-x | tests/run_all.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/run_all.sh b/tests/run_all.sh deleted file mode 100755 index 5727afb..0000000 --- a/tests/run_all.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -r=0 -for t in test_*; do - cd $t - php ../test.php > have - echo -ne "\e[1m$t\e[0m: " - if sed 's/\s*//' < have | grep -v '^$' | cmp -s want; then - echo "OK" - rm *.transc.php - else - echo "FAILED" - for tpl in *.tpl; do - php ../dump_ast.php < $tpl > $tpl.ast - done - r=1 - fi - cd .. -done - -exit $r |