forked from OSchip/llvm-project
parent
e29baab985
commit
c3aa35b66b
|
|
@ -1,37 +1,3 @@
|
||||||
LEVEL = ..
|
LEVEL = ..
|
||||||
DIRS = Programs
|
DIRS = Feature Regression Programs
|
||||||
|
include ../Makefile.common
|
||||||
TESTS := $(wildcard *.ll)
|
|
||||||
|
|
||||||
LLCTESTS := $(shell /bin/ls *.ll | grep -v testswitch | grep -v opttest | grep -v xx | grep -v calltest | grep -v alloca | grep -v memory )
|
|
||||||
|
|
||||||
|
|
||||||
test all :: testasmdis testopt testsparc
|
|
||||||
@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)
|
|
||||||
|
|
||||||
testsparc : $(LLCTESTS:%.ll=%.s)
|
|
||||||
|
|
||||||
%.asmdis: %
|
|
||||||
@echo "Running assembler/disassembler test on $<"
|
|
||||||
@./TestAsmDisasm.sh $<
|
|
||||||
|
|
||||||
%.opt: %
|
|
||||||
@echo "Running optimizier test on $<"
|
|
||||||
@./TestOptimizer.sh $<
|
|
||||||
|
|
||||||
|
|
||||||
## Rules for compiling %.ll, %.bc, %.s files and
|
|
||||||
## for building native SPARC executables.
|
|
||||||
##
|
|
||||||
include Makefile.tests
|
|
||||||
Loading…
Reference in New Issue