AsmParser now depends on clients to verify that input is well formed
[oota-llvm.git] / test / LiveVar / 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
11 all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
12
13 Output/%.out: %.ll $(LLC) Output/.dir
14         @echo "======== Testing live variables for $<"
15         $(LAS) < $< | $(LLC) -f -dlivevar i -o /dev/null 1> $@ 2>&1
16         diff $@ . > /dev/null 2>& 1 || \
17                  ( rm -f $@; $(FAILURE) $@ )
18