[llvm-commits] [test-suite] r152996 - in /test-suite/trunk: Makefile.programs Makefile.rules

Daniel Dunbar daniel at zuster.org
Sat Mar 17 10:59:55 PDT 2012


Author: ddunbar
Date: Sat Mar 17 12:59:55 2012
New Revision: 152996

URL: http://llvm.org/viewvc/llvm-project?rev=152996&view=rev
Log:
[test-suite] Make report targets automatically build tools, too.

Modified:
    test-suite/trunk/Makefile.programs
    test-suite/trunk/Makefile.rules

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=152996&r1=152995&r2=152996&view=diff
==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Sat Mar 17 12:59:55 2012
@@ -929,7 +929,7 @@
 FORCE_SERIAL_ARG := -j1
 endif
 
-report.$(TEST).raw.out: $(REPORT_DEPENDENCIES) $(TestMakefile)
+report.$(TEST).raw.out:: $(REPORT_DEPENDENCIES) $(TestMakefile)
 	$(MAKE) $(FORCE_SERIAL_ARG) TEST=$(TEST)
 	find . -name \*.$(TEST).report.txt -exec cat {} \; | tee $@
 

Modified: test-suite/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.rules?rev=152996&r1=152995&r2=152996&view=diff
==============================================================================
--- test-suite/trunk/Makefile.rules (original)
+++ test-suite/trunk/Makefile.rules Sat Mar 17 12:59:55 2012
@@ -105,6 +105,9 @@
 ifeq ($(MAKELEVEL),0)
 test:: tools
 all:: tools
+ifdef TEST
+report.$(TEST).raw.out:: tools
+endif
 endif
 
 tools:





More information about the llvm-commits mailing list