From d255fe4bb7af54cbfc0388c5d21ac0c2e2df0634 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 22 Feb 2019 23:48:34 -0800 Subject: Run cc-qbe directly in runtests This way, it completes much faster since we don't have to run the system preprocessor. --- runtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtests') 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" -- cgit v1.2.3