cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit d255fe4bb7af54cbfc0388c5d21ac0c2e2df0634
parent 413034296ee8919c50a632da80237bcb1e106646
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 22 Feb 2019 23:48:34 -0800

Run cc-qbe directly in runtests

This way, it completes much faster since we don't have to run the
system preprocessor.

Diffstat:
Mruntests | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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"