]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
target_cmd_build: Delete build-ok-stamp before starting
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 21 Apr 2015 16:39:24 +0000 (17:39 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Sat, 2 May 2015 09:00:59 +0000 (10:00 +0100)
Many of the callers of target_cmd_build use a build-ok-stamp idiom to
detect failed builds.  This idiom does not work if the stamp file
exists already, so delete it.

In the future we may move more of the test build-ok-stamp, echo ok,
into TestSupport, but this will do for now.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Osstest/TestSupport.pm

index b50ad0aebe87e32a3747fd41dffd48e83f8a8ff1..3ff70a51eb194b7aca7038835c75c1a909f6a2e1 100644 (file)
@@ -593,6 +593,7 @@ END
 END
         exec </dev/null
         cd $builddir
+        rm -f build-ok-stamp
 END
 }