Autoconf build: Try to update LLVMPolly.so before running regression tests

llvm-svn: 153738
This commit is contained in:
Hongbin Zheng 2012-03-30 09:27:07 +00:00
parent fb5cd6085f
commit 2700adebfa
1 changed files with 5 additions and 1 deletions

View File

@ -31,13 +31,17 @@ ifdef VG
LIT_ARGS += "--vg"
endif
polly-test:: lit.site.cfg
polly-test:: lit.site.cfg polly-lib
@ echo '--- Running polly tests for $(TARGET_TRIPLE) ---'
@ $(PYTHON) $(LLVM_SRC_ROOT)/utils/lit/lit.py \
$(LIT_ARGS) $(TESTARGS) $(TESTDIRS)
FORCE:
polly-lib: FORCE
$(MAKE) -C ../lib || exit 1;
lit.site.cfg: FORCE
@echo "Making Polly 'lit.site.cfg' file..."
@sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \