bustage fix from bug 551941 - remove old binaries before running test
authorTed Mielczarek <ted.mielczarek@gmail.com>
Wed, 17 Mar 2010 14:14:08 -0400
changeset 39532 cb793a909545f8744b0bad2023810282b790e2fa
parent 39531 a8004c4896ffa71689157c095b5267d5300f0a87
child 39533 ce38556552e26ed69bc2270a0955066eed35ea95
push id12250
push usertmielczarek@mozilla.com
push dateWed, 17 Mar 2010 18:11:15 +0000
treeherdermozilla-central@cb793a909545 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs551941
milestone1.9.3a4pre
bustage fix from bug 551941 - remove old binaries before running test
build/Makefile.in
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -131,16 +131,17 @@ check::
 	@if ! file -b ./unify-test-universal | head -n1 | grep -q "^Mach-O universal binary"; then \
           echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to produce a universal binary!"; \
           false; \
         else \
           echo "TEST-PASS | build/ | unify produced a universal binary!"; \
         fi
 # try building an x86-64 binary. if that succeeds, try unifying it
 # with an i386 binary
+	rm -f unify-test-x86_64 unify-test-universal-64
 	-$(HOST_CC) -arch x86_64 $(srcdir)/unify-test.c -o unify-test-x86_64
 	@if test -f ./unify-test-x86_64; then \
           if ! $(srcdir)/macosx/universal/unify ./unify-test-x86_64 ./unify-test-i386 \
             ./unify-test-universal-64; then \
             echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to produce a universal binary with a 64-bit input!"; \
             false; \
           fi; \
           if test ! -f ./unify-test-universal-64; then \