diff options
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000000..de6ac40c5e --- /dev/null +++ b/test/Makefile @@ -0,0 +1,20 @@ +TESTS := $(wildcard *.ll) + +test all : testasmdis testopt + @echo "All tests successfully completed!" + +testasmdis : $(TESTS:%.ll=%.ll.asmdis) + @echo "All assembler/disassembler test succeeded!" + +testopt : $(TESTS:%.ll=%.ll.opt) + +clean : + rm -f *.[123] *.bc core + +%.asmdis: % + @echo "Running assembler/disassembler test on $<" + @./TestAsmDisasm.sh $< + +%.opt: % + @echo "Running optimizier test on $<" + @./TestOptimizer.sh $< |