1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Makefile
Vikram S. Adve 6a327ec117 Rename Makefile.target to Makefile.tests.
Make all a :: target.

llvm-svn: 1488
2001-12-15 01:04:39 +00:00

38 lines
843 B
Makefile

LEVEL = ..
DIRS = Programs
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