scc

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

commit f02dd2e8df49bc1d82e35dcd26f5b12d1293b422
parent 18ab3f16b5df956072ca9de86967136e5dbdc330
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 23 Jun 2016 09:03:21 +0200

[cc1] Simplify chktest.sh

Diffstat:
Mcc1/tests/chktest.sh | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/cc1/tests/chktest.sh b/cc1/tests/chktest.sh @@ -22,10 +22,5 @@ do ../cc1 -I. -w $i > $out 2>$err echo $i >> test.log cat $err $out > $tst - if diff -c $chk $tst >> test.log - then - echo [OK] - else - echo [FAILED] - fi + diff -c $chk $tst >> test.log && echo [OK] || echo [FAILED] done