mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 15:00:38 +00:00
Retore errocompilelog, put exes in separate directory
The purpose of moving the EXEs is so that they are not captured in the build artifacts. They would be nice to have, but they end up being a few hundred MBs in size so much too large to bother saving.
This commit is contained in:
parent
cfb86d2c8f
commit
b413028619
|
@ -13,6 +13,7 @@ show_failure()
|
|||
{
|
||||
cat "$RESULTS_DIR/$1-compile_result.txt"
|
||||
cat "$RESULTS_DIR/$1-compilelog.txt"
|
||||
cat "$RESULTS_DIR/$1-errorcompilelog.txt"
|
||||
}
|
||||
|
||||
for test in $(ls ./tests/compile_tests)
|
||||
|
@ -22,6 +23,7 @@ do
|
|||
"$QB64" -x "./tests/compile_tests/$test/test.bas" -o "$RESULTS_DIR/$test-output.exe" 1>$RESULTS_DIR/$test-compile_result.txt
|
||||
ERR=$?
|
||||
cp ./internal/temp/compilelog.txt $RESULTS_DIR/$test-compilelog.txt
|
||||
cp ./internal/temp/errorcompilelog.txt $RESULTS_DIR/$test-errorcompilelog.txt
|
||||
|
||||
(exit $ERR)
|
||||
assert_success_named "Compile" "Compilation Error:" show_failure $test
|
||||
|
|
|
@ -15,6 +15,7 @@ show_failure()
|
|||
{
|
||||
cat "$RESULTS_DIR/$1-compile_result.txt"
|
||||
cat "$RESULTS_DIR/$1-compilelog.txt"
|
||||
cat "$RESULTS_DIR/$1-errorcompilelog.txt"
|
||||
}
|
||||
|
||||
for sourceFile in $(find ./tests/qbasic_testcases/n54/ -name '*.bas') \
|
||||
|
@ -31,6 +32,7 @@ do
|
|||
"$QB64" -x "$sourceFile" -o "./$EXES_DIR/$test-output.exe" 1>$RESULTS_DIR/$test-compile_result.txt
|
||||
ERR=$?
|
||||
cp ./internal/temp/compilelog.txt $RESULTS_DIR/$test-compilelog.txt
|
||||
cp ./internal/temp/errorcompilelog.txt $RESULTS_DIR/$test-errorcompilelog.txt
|
||||
|
||||
(exit $ERR)
|
||||
assert_success_named "Compile" "Compilation Error:" show_failure $test
|
||||
|
|
Loading…
Reference in a new issue