[llvm-commits] [test-suite] r124607 - /test-suite/trunk/TEST.dbg.Makefile
Devang Patel
dpatel at apple.com
Mon Jan 31 13:18:00 PST 2011
Author: dpatel
Date: Mon Jan 31 15:18:00 2011
New Revision: 124607
URL: http://llvm.org/viewvc/llvm-project?rev=124607&view=rev
Log:
Adapt to updated CompareDebugInfo.py script.
Skip few tests for now.
Modified:
test-suite/trunk/TEST.dbg.Makefile
Modified: test-suite/trunk/TEST.dbg.Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/TEST.dbg.Makefile?rev=124607&r1=124606&r2=124607&view=diff
==============================================================================
--- test-suite/trunk/TEST.dbg.Makefile (original)
+++ test-suite/trunk/TEST.dbg.Makefile Mon Jan 31 15:18:00 2011
@@ -36,11 +36,31 @@
$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
$(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
-test.$(TEST).%: Output/%.bp Output/%.dbg Output/%.dbg.opt
- echo $@
- echo $*
- mv *.dSYM Output/.
- $(LLVM_SRC_ROOT)/utils/CollectDebugInfoUsingLLDB.py Output/$*.dbg Output/$*.bp Output/$*.dbg.out
- $(LLVM_SRC_ROOT)/utils/CollectDebugInfoUsingLLDB.py Output/$*.dbg.opt Output/$*.bp Output/$*.dbg.opt.out
- $(LLVM_SRC_ROOT)/utils/CompareDebugInfo.py Output/$*.dbg.out Output/$*.dbg.opt.out $*
+test.$(TEST).%: Output/%.bp Output/%.dbg Output/%.dbg.opt Output/%.native.dbg Output/%.native.dbg.opt
+ @-is_skip=0; \
+ if test "$*" == "reversefile"; then \
+ is_skip=1; \
+ fi; \
+ if test "$*" == "spellcheck"; then \
+ is_skip=1; \
+ fi; \
+ if test "$*" == "sumcol"; then \
+ is_skip=1; \
+ fi; \
+ if test "$*" == "wc"; then \
+ is_skip=1; \
+ fi; \
+ if test "$*" == "wordfreq"; then \
+ is_skip=1; \
+ fi; \
+ if test "$*" == "exptree"; then \
+ is_skip=1; \
+ fi; \
+ if test $$is_skip == 0; then \
+ $(LLVM_SRC_ROOT)/utils/CollectDebugInfoUsingLLDB.py Output/$*.dbg Output/$*.bp Output/$*.dbg.out; \
+ $(LLVM_SRC_ROOT)/utils/CollectDebugInfoUsingLLDB.py Output/$*.dbg.opt Output/$*.bp Output/$*.dbg.opt.out; \
+ $(LLVM_SRC_ROOT)/utils/CollectDebugInfoUsingLLDB.py Output/$*.native.dbg Output/$*.bp Output/$*.native.dbg.out; \
+ $(LLVM_SRC_ROOT)/utils/CollectDebugInfoUsingLLDB.py Output/$*.native.dbg.opt Output/$*.bp Output/$*.native.dbg.opt.out; \
+ $(LLVM_SRC_ROOT)/utils/CompareDebugInfo.py $*; \
+ fi
More information about the llvm-commits
mailing list