[hackers] [scc] [cc1] Simplify chktest.sh || Roberto E. Vargas Caballero
commit f02dd2e8df49bc1d82e35dcd26f5b12d1293b422
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Jun 23 09:03:21 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Jun 23 09:03:21 2016 +0200
[cc1] Simplify chktest.sh
diff --git a/cc1/tests/chktest.sh b/cc1/tests/chktest.sh
index 7310db7..1531611 100755
--- a/cc1/tests/chktest.sh
+++ b/cc1/tests/chktest.sh
_AT_@ -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
Received on Thu Jun 23 2016 - 09:03:48 CEST
This archive was generated by hypermail 2.3.0
: Thu Jun 23 2016 - 09:12:17 CEST