Skip to content

Commit 877ff16

Browse files
committed
Fix run script tests to delete output files on running
1 parent c020744 commit 877ff16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runTests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ TESTS_DIR=./tests_outputs/
55
# Compile as described in the project guide
66
gradle compileJava build
77

8+
# Delete old out files
9+
rm tests_outputs/*my*out
10+
811
# Run tests with Gradle and save output to file
912
for t in src/main/java/ist/meic/pa/GenericFunctions/examples/Test*.java; do
1013
test_name=$(basename $t .java)

0 commit comments

Comments
 (0)