diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-08-21 23:52:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-08-21 23:52:15 +0000 |
| commit | d606c8200570b09c25251ba181d5113bc75a787b (patch) | |
| tree | 6f87035b14ca456133f716db9eea96414c448051 /llvm/test | |
| parent | 675e7a9e3d8188e9c2da7098c9d2d065f07590c4 (diff) | |
| download | bcm5719-llvm-d606c8200570b09c25251ba181d5113bc75a787b.tar.gz bcm5719-llvm-d606c8200570b09c25251ba181d5113bc75a787b.zip | |
Test the C backend on all of the feature tests as well.
llvm-svn: 3437
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Feature/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/test/Feature/Makefile b/llvm/test/Feature/Makefile index c7f585de985..8453c84c103 100644 --- a/llvm/test/Feature/Makefile +++ b/llvm/test/Feature/Makefile @@ -13,7 +13,7 @@ include ../Makefile.tests TESTS := $(wildcard *.ll) OTESTS := $(addprefix Output/, $(TESTS)) # Tests in output directory -test all :: testasmdis testopt testsparc +test all :: testasmdis testopt testcbe testsparc @echo "All tests completed!" testasmdis : $(addsuffix .asmdis, $(OTESTS)) @@ -21,6 +21,7 @@ testopt : $(addsuffix .opt , $(OTESTS)) testcodegen : $(OTESTS:%.ll=%.mc) testsparc : $(OTESTS:%.ll=%.s) +testcbe : $(OTESTS:%.ll=%.tc) Output/%.asmdis: % $(LAS) $(LDIS) Output/.dir @./TestAsmDisasm.sh $< $(TOOLDEBUG) $(LIBDEBUG) @@ -28,6 +29,11 @@ Output/%.asmdis: % $(LAS) $(LDIS) Output/.dir Output/%.opt: % $(LAS) $(LDIS) $(LOPT) Output/.dir @./TestOptimizer.sh $< $(TOOLDEBUG) $(LIBDEBUG) +Output/%.tc: Output/%.bc $(LDIS) + @echo "======== Generating C code for $<" + $(LDIS) -c < $< > $@ || \ + ( rm -f $@; $(FAILURE) $@ ) + Output/%.mc: Output/%.bc $(LLC) @echo "======== Generating machine instructions for $<" $(LLC) -f $(LLCFLAGS) $< > $@ || \ |

