[LLVMdev] [PATCH] test-suite/libcalls: unbreak build

Gregory Petrosyan
Tue, 05 Jan 2010 19:27:14 -0000

On Tue, Jan 05, 2010 at 10:05:21AM -0800, Chris Lattner
wrote:
> looks like some lines got moved, fixed on mainline, thanks.

Not really fixed :-) Please commit this:

Index: TEST.libcalls.Makefile
==================================================================---
TEST.libcalls.Makefile	(revision 92749)
+++ TEST.libcalls.Makefile	(working copy)
@@ -23,10 +23,10 @@
 $(PROGRAMS_TO_TEST:%=Output/%.$(TEST).report.txt):  \
 Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT) \
 	$(PROJ_SRC_ROOT)/TEST.libcalls.Makefile
+	$(VERB) $(RM) -f $@
 	@echo
"---------------------------------------------------------------"
>> $@
 	@echo ">>> ========= '$(RELDIR)/$*' Program"
>> $@
 	@echo
"---------------------------------------------------------------"
>> $@
-	$(VERB) $(RM) -f $@
 	@-$(LOPT) -simplify-libcalls -stats -debug-only=simplify-libcalls \
 	         -time-passes -disable-output $< 2>>$@