[hackers] [scc] [cc1] Update chktest.sh to use cc1-z80 || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 12 Dec 2016 15:53:03 +0100 (CET)

commit 9d2fb3c37f3be7cf69a5036c93c4568918987550
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Dec 12 14:09:40 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Dec 12 15:30:33 2016 +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

diff --git a/cc1/tests/chktest.sh b/cc1/tests/chktest.sh
index 1531611..85b0ef2 100755
--- a/cc1/tests/chktest.sh
+++ b/cc1/tests/chktest.sh
_AT_@ -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
index 6f41f01..6d972d6 100755
--- a/cc1/tests/update.sh
+++ b/cc1/tests/update.sh
_AT_@ -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"
Received on Mon Dec 12 2016 - 15:53:03 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 12 2016 - 16:00:38 CET