Name the first basic block
[oota-llvm.git] / test / Jello / Makefile
1 #                    test/Regression/Jello/Makefile
2 #
3 # This directory contains regression tests for the LLVM jello program.  
4 #
5 LEVEL = ../../..
6 include $(LEVEL)/test/Makefile.tests
7
8 TESTS := $(wildcard *.ll)
9 FTESTS := $(wildcard *.llx)   # Freeform tests
10
11 all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
12
13 Output/%.out: Output/%.bc
14         @echo "======== Running $< ==================="
15         $(VERB) jello $< > $@ 2>&1 || \
16                  ( cat $@; rm -f $@; $(FAILURE) $@ )
17
18
19 all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
20
21 Output/%.llx.out: %.llx Output/.dir $(LAS)
22         -$(TESTRUNR) $<
23