scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 9d2fb3c37f3be7cf69a5036c93c4568918987550
parent 3f25145c5b118b673d55501f57703990cc2d337d
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 12 Dec 2016 14:09:40 +0100

[cc1] Update chktest.sh to use cc1-z80

Z80 is no longer the default target and cc1 was gone,
so we have to explicitily use cc1-z80

Diffstat:
Mcc1/tests/chktest.sh | 2+-
Mcc1/tests/update.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cc1/tests/chktest.sh b/cc1/tests/chktest.sh @@ -19,7 +19,7 @@ do /^\*\// {copyon=0; next} copyon==1 {print > "'$chk'"}' $i - ../cc1 -I. -w $i > $out 2>$err + ../cc1-z80 -I. -w $i > $out 2>$err echo $i >> test.log cat $err $out > $tst diff -c $chk $tst >> test.log && echo [OK] || echo [FAILED] diff --git a/cc1/tests/update.sh b/cc1/tests/update.sh @@ -14,7 +14,7 @@ case $# in *) for i do - ../cc1 -I./ -w $i >$out 2>$err + ../cc1-z80 -I./ -w $i >$out 2>$err (echo '/^error/+;/^output/-c' cat $err printf ".\n"