[llvm-commits] [poolalloc] r115803 - /poolalloc/trunk/test/Makefile

Will Dietz wdietz2 at illinois.edu
Wed Oct 6 11:14:39 PDT 2010


Author: wdietz2
Date: Wed Oct  6 13:14:39 2010
New Revision: 115803

URL: http://llvm.org/viewvc/llvm-project?rev=115803&view=rev
Log:
Added 'lit-report' target for cleaner results more appropriate for automated testing.

Modified:
    poolalloc/trunk/test/Makefile

Modified: poolalloc/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/Makefile?rev=115803&r1=115802&r2=115803&view=diff
==============================================================================
--- poolalloc/trunk/test/Makefile (original)
+++ poolalloc/trunk/test/Makefile Wed Oct  6 13:14:39 2010
@@ -377,7 +377,7 @@
 # Lit tests
 ##===----------------------------------------------------------------------===##
 
-.PHONY: lit
+.PHONY: lit lit-report
 
 #Figure out what our configuration is
 #Better way?
@@ -433,6 +433,10 @@
 lit: lit.site.cfg $(TOOLS)
 	$(SETPATH) $(MAKE) -C $(LLVM_OBJ_ROOT)/test check-local-lit TESTSUITE=$(TESTSUITE)
 
+#Run the lit tests, but supress all error output--just report the test results.
+lit-report: lit.site.cfg $(TOOLS)
+	$(SETPATH) $(MAKE) -C $(LLVM_OBJ_ROOT)/test check-local-lit TESTSUITE=$(TESTSUITE) LIT_ARGS=-q
+
 clean::
 	-$(RM) -rf  `find $(PROJ_OBJ_DIR) -name Output -type d -print`
 	-$(RM) lit.site.cfg





More information about the llvm-commits mailing list