Removing Makefiles. Regression tests are now run by QMTest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8548 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell 2003-09-15 20:21:38 +00:00
parent 7f8e3aff0e
commit 473741930e
47 changed files with 0 additions and 618 deletions

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,14 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
$(addprefix Output/, $(TESTS:%.ll=%.ll.out)):
Output/%.ll.out: %.ll Output/.dir $(LOPT) $(LANALYZE)
-$(TESTRUNR) $<
clean::
-rm -f *.dot *.ps

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LANALYZE)
-$(TESTRUNR) $<

View File

@ -1,7 +0,0 @@
# test/Regression/Analysis/Makefile
LEVEL = ../../..
DIRS = Dominators \
DSGraph \
LoopInfo
include $(LEVEL)/Makefile.common

View File

@ -1,23 +0,0 @@
# test/Regression/Assembler/Makefile
#
# This directory contains regression tests for the LLVM assembler program.
# These LLVM source file tests are just required to assembler properly to pass.
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
Output/%.tbc: %.ll $(LAS) Output/.dir
@echo "======== Assembling $<"
$(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
( rm -f $@; $(FAILURE) $@ )
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
Output/%.llx.out: %.llx Output/.dir $(LAS)
-$(TESTRUNR) $<

View File

@ -1,19 +0,0 @@
# test/Regression/Assembler/Makefile
#
# This directory contains regression tests for the LLVM assembler program.
# These LLVM source file tests are just required to assembler properly to pass.
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LAS) $(LBUGPOINT)
-$(TESTRUNR) $<
-@# Remove temporary files generated...
-@rm -f bugpoint-*
clean::
rm -f *.bc

View File

@ -1,12 +0,0 @@
# test/Regression/C++Frontend/EH/Makefile
#
# This directory contains exception handling regression tests for the GCC C++
# front-end for LLVM. These tests are C++ source files that are input to GCC
# and compiled to .ll files. After that, the files are assembled and executed
# by the LLVM backends.
#
LEVEL = ../../../..
include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc
## These should eventually be automatic!
LIBS := -lexception -lsupc++

View File

@ -1,20 +0,0 @@
# test/Regression/C++Frontend/CompileFail/Makefile
#
# This directory contains regression tests for the GCC C++ frontend for LLVM.
# These tests are C++ source files that are input to GCC and compiled to .ll
# files. After that, the files are assembled by the LLVM 'as' program to make
# sure GCC emitted something valid. This is intended to catch crashers and bad
# output by GCC. Miscompilations by GCC should be caught by the
# test/Programs/SingleSource/UnitTests test suite
#
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.cpp)
TR_TESTS := $(wildcard *.cpp.tr)
all:: $(addprefix Output/, $(TESTS:%.cpp=%.tbc))
all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
Output/%.cpp.tr.out: %.cpp.tr Output/.dir $(LCC1XX)
-$(TESTRUNR) $<

View File

@ -1,27 +0,0 @@
# test/Regression/CBackend/Makefile
#
# This directory contains regression tests for the C backend for LLVM.
# These testcases are assembled with the LLVM assembler, then disassembled into
# C code. The C code should be compilable with the standard C compiler.
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
.PRECIOUS: Output/%.c
TESTS := $(wildcard *.ll)
FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.to)) $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
Output/%.to: Output/%.c
$(CC) -c -Werror $< -o $@ || \
(rm -f $@; $(FAILURE) $@ )
Output/%.c: %.ll Output/.dir $(LAS) $(LDIS)
$(LAS) < $< | $(LDIS) -c > $@ || \
(rm -f $@; $(FAILURE) $@ )
Output/%.llx.out: %.llx Output/.dir $(LAS) $(LDIS)
-$(TESTRUNR) $<

View File

@ -1,20 +0,0 @@
# test/Regression/CFrontend/Makefile
#
# This directory contains regression tests for the GCC C frontend for LLVM.
# These tests are C source files that are input to GCC and compiled to .ll
# files. After that, the files are assembled by the LLVM 'as' program to make
# sure GCC emitted something valid. This is intended to catch crashers and bad
# output by GCC. Miscompilations by GCC should be caught by the
# test/Programs/SingleSource/UnitTests test suite
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.c)
TR_TESTS := $(wildcard *.c.tr)
all:: $(addprefix Output/, $(TESTS:%.c=%.tbc))
all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
Output/%.c.tr.out: %.c.tr Output/.dir $(LCC1)
-$(TESTRUNR) $<

View File

@ -1,29 +0,0 @@
# test/Regression/Jello/Makefile
#
# This directory contains regression tests for the LLVM x86 JIT
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
LLI_FLAGS = -force-interpreter=false
ifdef DISABLE_FP_ELIM
LLI_FLAGS += -disable-fp-elim
endif
Output/%.out: Output/%.bc $(LLI)
@echo "======== Running $< ==================="
$(VERB) $(LLI) $(LLI_FLAGS) -stats $< > $@ 2>&1 || \
( cat $@; rm -f $@; $(FAILURE) $@ )
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
Output/%.llx.out: %.llx Output/.dir $(LJELLO)
-$(TESTRUNR) $<

View File

@ -1,22 +0,0 @@
# test/Regression/LLC/Makefile
#
# This directory contains regression tests for the LLVM sparc backend.
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
# Only .ll tests here. C tests are run via Makefile.singlesrc above.
#
LL_TESTS := $(wildcard *.ll)
LLX_TESTS := $(wildcard *.llx)
all:: $(addprefix Output/, $(LL_TESTS:%.ll=%.ts))
all:: $(addprefix Output/, $(LLX_TESTS:%.llx=%.llx.out))
Output/%.ts: Output/%.bc $(LLC) Output/.dir
@echo "======== Compiling $< =========="
$(LLC) -f $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )
Output/%.llx.out: %.llx Output/.dir $(LLC)
-$(TESTRUNR) $<

View File

@ -1,9 +0,0 @@
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LLINK)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LANALYZE)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.td)
all:: $(addprefix Output/, $(TESTS:%=%.out))
Output/%.out: % Output/.dir $(TBLGEN)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,30 +0,0 @@
# test/Regression/Transforms/DSAnalysis/Makefile
#
# This directory contains test cases for the llvm data structure analysis
# library. These are meant to test all of the nooks and cranies of the
# algorithm, although we really have no way to verify that the answers produced
# are correct.
#
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
## Get absolute pathname for analyze
LANALYZE_ABS := $(shell cd `dirname $(LANALYZE)`; pwd)/analyze
TESTS := $(wildcard *.ll)
FTESTS := $(wildcard *.llx) # Freeform tests
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
Output/%.out: %.ll $(LANALYZE) Output/.dir
(cd Output/; $(LANALYZE_ABS) -tddatastructure ../$< || \
( rm -f ../$@; ../$(FAILURE) ../$@ ))
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
clean::
rm -f *.ps *.dot
Output/%.llx.out: %.llx Output/.dir $(LAS)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,19 +0,0 @@
# test/Regression/Transforms/DecomposeArrayRefs/Makefile
#
# This directory contains regression tests for the DecomposeArrayRefs pass.
# Since the main tests are single C source files, we'll use the same
# Makefile as test/Programs/SingleSource.
# The *.ll tests are mainly useful to run manually.
#
LEVEL = ../../../..
include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc
LLTESTS := $(wildcard *.ll)
CTESTS := $(wildcard *.c)
TESTS := $(LLTESTS) $(CTESTS)
all:: $(addprefix Output/, $(LLTESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,28 +0,0 @@
LEVEL = ../../..
DIRS = ADCE \
ConstProp \
ConstantMerge \
CorrelatedExprs \
DecomposeMultiDimRefs \
FunctionResolve \
GCSE \
GlobalDCE \
IndVarsSimplify \
Inline \
InstCombine \
LevelRaise \
LICM \
LoopPreheaders \
LowerSwitch \
Mem2Reg \
PiNodeInserter \
PRE \
PruneEH \
ProfilePaths \
Reassociate \
SCCP \
ScalarRepl \
SimplifyCFG \
TailDup
include $(LEVEL)/Makefile.common

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.llx)
all:: $(addprefix Output/, $(TESTS:%.llx=%.llx.out))
Output/%.llx.out: %.llx Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,10 +0,0 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<

View File

@ -1,19 +0,0 @@
# test/Regression/Verifier/Makefile
#
# This directory contains regression tests for the LLVM verifier pass. Basically
# all of these LLVM source files are invalid programs that should be marked as
# such by the verifier
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ntbc))
Output/%.ntbc: %.ll $(LAS) Output/.dir
@echo "======== Verifying $< ==========="
if $(LAS) -f $< -o /dev/null; \
then $(FAILURE) $@; exit 1; \
else touch $@; exit 0;\
fi