shithub: mc

Download patch

ref: 16cf9b0feb9447367a1bf77575ef279148f6edc4
parent: b12bf0009ed8fc457347c0ebc615a54254731b48
author: Ori Bernstein <[email protected]>
date: Wed Jun 6 14:06:37 EDT 2012

Remove the testcase before building.

    This prevents stale binaries from old builds being run; If
    compilation starts failing, we shouldn't report passing tests.

--- a/test/build.sh
+++ b/test/build.sh
@@ -4,6 +4,7 @@
 ASOPT="-g"
 
 function build {
+    rm $1
     echo $MC $1.myr && \
     $MC $1.myr && \
     mv a.s $1.s && \