[llvm-commits] [test-suite] r134450 - /test-suite/trunk/TEST.lineinfo.Makefile

Devang Patel dpatel at apple.com
Tue Jul 5 18:08:55 CDT 2011


Author: dpatel
Date: Tue Jul  5 18:08:55 2011
New Revision: 134450

URL: http://llvm.org/viewvc/llvm-project?rev=134450&view=rev
Log:
cleanup.

Modified:
    test-suite/trunk/TEST.lineinfo.Makefile

Modified: test-suite/trunk/TEST.lineinfo.Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/TEST.lineinfo.Makefile?rev=134450&r1=134449&r2=134450&view=diff
==============================================================================
--- test-suite/trunk/TEST.lineinfo.Makefile (original)
+++ test-suite/trunk/TEST.lineinfo.Makefile Tue Jul  5 18:08:55 2011
@@ -12,54 +12,8 @@
 REPORTS_TO_GEN := dbg
 REPORTS_SUFFIX := $(addsuffix .report.txt, $(REPORTS_TO_GEN))
 
-Output/%.bp: %.c Output/.dir
-	$(LCC) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
-	$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
-
-Output/%.bp: %.cpp Output/.dir
-	$(LCXX) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
-	$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
-
-Output/%.bp: %.m Output/.dir
-	$(LCC) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
-	$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
-
-Output/%.bp: %.mm Output/.dir
-	$(LCXX) $(CPPFLAGS) $(CFLAGS) -g -c -emit-llvm $< -o $@.bc
-	$(LOPT) -print-breakpoints-for-testing $@.bc -o $@
-
 $(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
-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 "$*" == "ray"; then \
-	  is_skip=1; \
-	fi; \
-	if test "$*" == "oscar"; then \
-	  is_skip=1; \
-	fi; \
-	if test "$*" == "spirit"; then \
-	  is_skip=1; \
-	fi; \
-	if test $$is_skip == 0; then \
-	  $(PROJ_SRC_ROOT)/PrintLineNo.sh $*; \
-	  $(PROJ_SRC_ROOT)/FindMissingLineNo.py $* $(PROJ_SRC_ROOT);\
-	fi
+test.$(TEST).%: Output/%.dbg Output/%.dbg.opt Output/%.native.dbg Output/%.native.dbg.opt
+	$(PROJ_SRC_ROOT)/PrintLineNo.sh $*; \
+	$(PROJ_SRC_ROOT)/FindMissingLineNo.py $* $(PROJ_SRC_ROOT);
 




More information about the llvm-commits mailing list