New testcase
[oota-llvm.git] / test / Assembler / Makefile
1 #                    test/Regression/Assembler/Makefile
2 #
3 # This directory contains regression tests for the LLVM assembler program.  
4 # These LLVM source file tests are just required to assembler properly to pass.
5 #
6 LEVEL = ../../..
7 include $(LEVEL)/test/Makefile.tests
8
9 TESTS := $(wildcard *.ll)
10 FTESTS := $(wildcard *.llx)   # Freeform tests
11
12 all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
13
14 Output/%.tbc: %.ll $(LAS) Output/.dir
15         @echo "======== Assembling $<"
16         $(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
17                  ( rm -f $@; $(FAILURE) $@ )
18
19 all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
20
21 Output/%.llx.out: %.llx Output/.dir $(LAS)
22         -$(TESTRUNR) $<
23