diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-26 20:33:19 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-26 20:33:19 -0600 |
commit | 75b0f765acdaf6571a723b8933ad584b980d08d4 (patch) | |
tree | 9853ed63cb4834770ea857f85706b26e37136d92 /run_tests.sh | |
parent | d5960ffb93b701d6dfaff412d9ed12d9bbf2338b (diff) |
Update test file for Typecheck negative examples
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/run_tests.sh b/run_tests.sh deleted file mode 100755 index 83a44dc..0000000 --- a/run_tests.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -for i in ./typecheck/tests/*.java; do - [ -f "$i" ] || break - [[ "$i" == *"error"* ]] && expected="Type error" || - expected="Program type checked successfully" - actual=$(java Typecheck < $i) - - echo -n "$(basename ${i}): " - [[ $expected == $actual ]] && echo 'PASSED' || echo -e "FAILED---Expected: $expected" -done |