1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00

Clear ./internal/temp between each test

This commit is contained in:
Matthew Kilgore 2022-05-10 20:11:51 -04:00
parent 867dddb1b4
commit 60cb0c6f82
2 changed files with 6 additions and 0 deletions

View file

@ -27,6 +27,9 @@ do
TESTCASE=$test
EXE="$RESULTS_DIR/$test-output"
# Clear out temp folder before next compile, avoids stale compilelog files
rm -fr ./internal/temp/*
"$QB64" -x "./tests/compile_tests/$test/test.bas" -o "$EXE" 1>$RESULTS_DIR/$test-compile_result.txt
ERR=$?
cp_if_exists ./internal/temp/compilelog.txt $RESULTS_DIR/$test-compilelog.txt

View file

@ -29,6 +29,9 @@ do
TESTCASE=$test
# Clear out temp folder before next compile, avoids stale compilelog files
rm -fr ./internal/temp/*
"$QB64" -x "$sourceFile" -o "./$EXES_DIR/$test-output.exe" 1>$RESULTS_DIR/$test-compile_result.txt
ERR=$?
cp_if_exists ./internal/temp/compilelog.txt $RESULTS_DIR/$test-compilelog.txt