[llvm-commits] [poolalloc] r155769 - /poolalloc/trunk/test/Makefile
Will Dietz
wdietz2 at illinois.edu
Sat Apr 28 15:00:14 PDT 2012
Author: wdietz2
Date: Sat Apr 28 17:00:14 2012
New Revision: 155769
URL: http://llvm.org/viewvc/llvm-project?rev=155769&view=rev
Log:
Add missing dependency on site.exp, so lit tests work on fresh build.
Previously the DSA lit tests would only work if you had previously
run LLVM's lit tests.
Modified:
poolalloc/trunk/test/Makefile
Modified: poolalloc/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/Makefile?rev=155769&r1=155768&r2=155769&view=diff
==============================================================================
--- poolalloc/trunk/test/Makefile (original)
+++ poolalloc/trunk/test/Makefile Sat Apr 28 17:00:14 2012
@@ -472,9 +472,12 @@
-e "s#@PROJ_OBJ_ROOT@#$(PROJ_OBJ_ROOT)#g" \
$(PROJ_SRC_ROOT)/test/lit.site.cfg.in > $@
+$(LLVM_OBJ_ROOT)/test/site.exp:
+ make -C $(LLVM_OBJ_ROOT)/test site.exp
+
#Run the lit tests for this project
.PHONY: lit lit-report
-lit: lit.site.cfg $(TOOLS)
+lit: lit.site.cfg $(TOOLS) $(LLVM_OBJ_ROOT)/test/site.exp
$(LLVM_SRC_ROOT)/utils/lit/lit.py $(PROJ_OBJ_ROOT)/test --path $(ToolDir) -s -v
#Run the lit tests, but supress all error output--just report the test results.
More information about the llvm-commits
mailing list