Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions simple-test-cases-novra/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else
fi

recompile_one() {
args=
args="-lm"
input=$1
ext=${1##*.}
if [[ ( $ext = 'll' ) || ( $(basename $input) = test* ) ]]; then
Expand Down Expand Up @@ -55,7 +55,7 @@ recompile_one() {
for testin in "$SCRIPTPATH"/input/${1%.*}.*; do
[ -f "$testin" ] || continue
printf '[TEST ] [....] %s' $(basename "$testin")
testout=$(mktemp -t $(basename "$testin"))
testout=$(mktemp -t $(basename "$testin").XXXXXX)
"$out" < "$testin" > "$testout"
correctout=${SCRIPTPATH}/output/$(basename "$testin")
logf="$SCRIPTPATH"/$(basename "$testin").log
Expand Down
2 changes: 1 addition & 1 deletion simple-test-cases/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else
fi

recompile_one() {
args=
args="-lm"
input=$1
ext=${1##*.}
if [[ ( $ext = 'll' ) || ( $(basename $input) = test* ) ]]; then
Expand Down