diff options
Diffstat (limited to 'test.sh')
| -rwxr-xr-x | test.sh | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -1,18 +1,7 @@ #!/bin/bash -if [ -z "$1" ] -then - echo "Usage: $0 <path to .cup file>" - exit 1 -fi - -set -xe - -./compile.sh -./cupcc $@ -./assemble.sh output.nasm - -set +e - -./a.out -echo "Exit status: $?"
\ No newline at end of file +for i in `ls tests/*.sh | grep -v common.sh` +do + echo "Running $i" + bash $i +done
\ No newline at end of file |