shithub: scc

Download patch

ref: 71f6eaf7033d746cf87453fb88e3a8a0a73710e8
parent: f8e26c45b1ec94914d231b5f0b6302572349e5d6
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Dec 12 09:09:40 EST 2016

[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

--- a/cc1/tests/chktest.sh
+++ b/cc1/tests/chktest.sh
@@ -19,7 +19,7 @@
 	     /^\*\//             {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]
--- a/cc1/tests/update.sh
+++ b/cc1/tests/update.sh
@@ -14,7 +14,7 @@
 *)
 	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"