llvm-6502/test/Jello/Makefile
Chris Lattner 1405ec0ce1 Checkin simple testcases for LLVM-JIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4288 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-25 23:01:51 +00:00

24 lines
586 B
Makefile

# test/Regression/Jello/Makefile
#
# This directory contains regression tests for the LLVM jello program.
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
Output/%.out: Output/%.bc
@echo "======== Running $< ==================="
$(VERB) jello $< > $@ 2>&1 || \
( cat $@; rm -f $@; $(FAILURE) $@ )
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
Output/%.llx.out: %.llx Output/.dir $(LAS)
-$(TESTRUNR) $<