X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FMakefile;h=eec753644ce1d1b8609ac3615471bf0878564674;hb=38c42725fe9ad6f50cd45e32a408e5fda370971c;hp=1370e2d04c55fed90c8f0a81e3da78f67224eeb4;hpb=4ddb4c82d7451f7ab0269a4d0ca948f96e80402e;p=oota-llvm.git diff --git a/test/Makefile b/test/Makefile index 1370e2d04c5..eec753644ce 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,41 +1,5 @@ -LLC := ../tools/Debug/llc -AS := ../tools/Debug/as -LLCOPTS := -dsched t - -TESTS := $(wildcard *.ll) - -LLCTESTS := $(shell /bin/ls *.ll | grep -v testmemory | grep -v testswitch | grep -v sumarray | grep -v globalvars) - - -test all : testasmdis testopt testcodegen - @echo "All tests successfully completed!" - -testasmdis : $(TESTS:%.ll=%.ll.asmdis) - @echo "All assembler/disassembler test succeeded!" - -testopt : $(TESTS:%.ll=%.ll.opt) - -testselect : $(LLCTESTS:%.ll=%.mc) - -testsched : $(LLCTESTS:%.ll=%.mc) - -testcodegen : $(LLCTESTS:%.ll=%.mc) - -clean : - rm -f *.[123] *.bc *.mc core - -%.asmdis: % - @echo "Running assembler/disassembler test on $<" - @./TestAsmDisasm.sh $< - -%.opt: % - @echo "Running optimizier test on $<" - @./TestOptimizer.sh $< - -%.bc: %.ll - $(AS) $< -f - -%.mc: %.ll $(LLC) $(AS) - @echo "Generating machine instructions for $<" - $(AS) < $< | $(LLC) -dsched=t > $@ +LEVEL = .. +DIRS = Feature Libraries Regression Programs +include ../Makefile.common +include Makefile.tests