aboutsummaryrefslogtreecommitdiff
path: root/runtests
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-22 23:48:34 -0800
committerMichael Forney <mforney@mforney.org>2019-02-22 23:49:59 -0800
commitd255fe4bb7af54cbfc0388c5d21ac0c2e2df0634 (patch)
treee5876fc5f6e7c7e2100afb39c3131fa8ed7c459c /runtests
parent413034296ee8919c50a632da80237bcb1e106646 (diff)
Run cc-qbe directly in runtests
This way, it completes much faster since we don't have to run the system preprocessor.
Diffstat (limited to 'runtests')
-rwxr-xr-xruntests2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests b/runtests
index 6865d0e..7c6919d 100755
--- a/runtests
+++ b/runtests
@@ -8,7 +8,7 @@ exitstatus=0
out=$(mktemp)
trap 'rm "$out"' EXIT
for test ; do
- if ${CC:=./cc} -emit-qbe -o $out $test && diff -Nu "${test%.c}.qbe" "$out" ; then
+ if ${CCQBE:=./cc-qbe} -o $out $test && diff -Nu "${test%.c}.qbe" "$out" ; then
result="PASS"
else
result="FAIL"