diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-15 19:49:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-15 19:49:06 +0000 |
commit | d1c58ac7c350ee2b8f3696ad65aed9455b178987 (patch) | |
tree | 0a8ade0dd11d09925817e4aadabba5dcd7d1c06a /test | |
parent | 83a278efadf7d252ce7a0192cc049b16b14a1f8b (diff) | |
download | external_llvm-d1c58ac7c350ee2b8f3696ad65aed9455b178987.zip external_llvm-d1c58ac7c350ee2b8f3696ad65aed9455b178987.tar.gz external_llvm-d1c58ac7c350ee2b8f3696ad65aed9455b178987.tar.bz2 |
Make 'features' testsuite work with the /shared changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/Makefile | 4 | ||||
-rwxr-xr-x | test/Feature/TestAsmDisasm.sh | 6 | ||||
-rwxr-xr-x | test/Feature/TestOptimizer.sh | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/test/Feature/Makefile b/test/Feature/Makefile index ffbad50..c7f585d 100644 --- a/test/Feature/Makefile +++ b/test/Feature/Makefile @@ -23,10 +23,10 @@ testcodegen : $(OTESTS:%.ll=%.mc) testsparc : $(OTESTS:%.ll=%.s) Output/%.asmdis: % $(LAS) $(LDIS) Output/.dir - @./TestAsmDisasm.sh $< + @./TestAsmDisasm.sh $< $(TOOLDEBUG) $(LIBDEBUG) Output/%.opt: % $(LAS) $(LDIS) $(LOPT) Output/.dir - @./TestOptimizer.sh $< + @./TestOptimizer.sh $< $(TOOLDEBUG) $(LIBDEBUG) Output/%.mc: Output/%.bc $(LLC) @echo "======== Generating machine instructions for $<" diff --git a/test/Feature/TestAsmDisasm.sh b/test/Feature/TestAsmDisasm.sh index 79ff5c3..0b8faef 100755 --- a/test/Feature/TestAsmDisasm.sh +++ b/test/Feature/TestAsmDisasm.sh @@ -4,11 +4,11 @@ rm -f test.bc.temp[12] -LD_LIBRARY_PATH=../../lib/Debug +LD_LIBRARY_PATH=$3 export LD_LIBRARY_PATH -AS=../../tools/Debug/as -DIS=../../tools/Debug/dis +AS=$2/as +DIS=$2/dis echo "======== Running assembler/disassembler test on $1" diff --git a/test/Feature/TestOptimizer.sh b/test/Feature/TestOptimizer.sh index cfc89c3..fa31f0e 100755 --- a/test/Feature/TestOptimizer.sh +++ b/test/Feature/TestOptimizer.sh @@ -1,10 +1,10 @@ #!/bin/sh -LD_LIBRARY_PATH=../../lib/Debug +LD_LIBRARY_PATH=$3 export LD_LIBRARY_PATH -AS=../../tools/Debug/as -DIS=../../tools/Debug/dis -OPT=../../tools/Debug/opt +AS=$2/as +DIS=$2/dis +OPT=$2/opt echo "======== Running optimizier test on $1" |