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:
parent
867dddb1b4
commit
60cb0c6f82
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue