[hackers] [scc] [test] Remove previous a.out before compiling || Roberto E. Vargas Caballero
commit 71c7631e89e9db3bef1a338d8dfa34327f11a308
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Aug 17 18:05:25 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Aug 17 18:05:25 2016 +0200
[test] Remove previous a.out before compiling
If the compilation fails with a segmentation fault then we can have
a a.out file from a previous test.
diff --git a/tests/chktest.sh b/tests/chktest.sh
index e7294d1..820e850 100755
--- a/tests/chktest.sh
+++ b/tests/chktest.sh
_AT_@ -7,5 +7,6 @@ ulimit -c 0
for i in $_AT_
do
printf "%s\t" $i
+ rm -f a.out
(scc -m qbe "$i" && ./a.out) 2>/dev/null && echo [OK] || echo [FAILED]
done
Received on Wed Aug 17 2016 - 18:06:34 CEST
This archive was generated by hypermail 2.3.0
: Wed Aug 17 2016 - 18:12:17 CEST