target_cmd_build: Delete build-ok-stamp before starting
PATCH 1/1 target_cmd_build: Delete build-ok-stamp before starting
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 <[email protected]>
--- Osstest/TestSupport.pm | 1 + 1 file changed, 1 insertion(+)
Osstest/TestSupport.pm +1 -0
@@ -593,6 +593,7 @@ END END exec </dev/null cd $builddir + rm -f build-ok-stamp END }
Signature · 1 line
1.7.10.4
Quoted 8 lines · Ian Jackson
Many of the callers of
target_cmd_builduse 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 <[email protected]>
Acked-by Ian Campbell <[email protected]>