Executables all live in a nice centralized location now
authorChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 22:58:50 +0000 (22:58 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 22:58:50 +0000 (22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@500 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/TestAsmDisasm.sh
test/Feature/TestOptimizer.sh
test/Setup
test/SetupOpt

index 88c8633fcc95715f5cab078b76e21604ec9ebe95..1474c516f535ff47da8f854faa05d3647828a719 100755 (executable)
@@ -4,15 +4,21 @@
 
 rm -f test.bc.temp[12]
 
-LD_LIBRARY_PATH=../lib/Assembly/Parser/Debug:../lib/Assembly/Writer/Debug:../lib/Analysis/Debug:../lib/VMCore/Debug:../lib/Bytecode/Writer/Debug:../lib/Bytecode/Reader/Debug:../lib/Optimizations/Debug
+LD_LIBRARY_PATH=../lib/Debug
 export LD_LIBRARY_PATH
 
+AS=../tools/Debug/as
+DIS=../tools/Debug/dis
+export AS
+export DIS
+
+
 # Two full cycles are needed for bitwise stability
 
-../tools/as/as   < $1      > $1.bc.1 || exit 1
-../tools/dis/dis < $1.bc.1 > $1.ll.1 || exit 2
-../tools/as/as   < $1.ll.1 > $1.bc.2 || exit 3
-../tools/dis/dis < $1.bc.2 > $1.ll.2 || exit 4
+$AS  < $1      > $1.bc.1 || exit 1
+$DIS < $1.bc.1 > $1.ll.1 || exit 2
+$AS  < $1.ll.1 > $1.bc.2 || exit 3
+$DIS < $1.bc.2 > $1.ll.2 || exit 4
 
 diff $1.ll.[12] || exit 7
 
index 12afa77270fc70f7e42557fb4b19d60d357767fc..50729b6251bd6018ac58647afd18fb93228bdf58 100755 (executable)
@@ -1,22 +1,28 @@
 #!/bin/sh
-LD_LIBRARY_PATH=../lib/Assembly/Parser/Debug:../lib/Assembly/Writer/Debug:../lib/Analysis/Debug:../lib/VMCore/Debug:../lib/Bytecode/Writer/Debug:../lib/Bytecode/Reader/Debug:../lib/Optimizations/Debug
+LD_LIBRARY_PATH=../lib/Debug
 export LD_LIBRARY_PATH
 
+AS=../tools/Debug/as
+DIS=../tools/Debug/dis
+OPT=../tools/Debug/opt
+export AS
+export DIS
+export OPT
 
-../tools/as/as < $1 | ../tools/opt/opt -q -inline -dce -constprop -dce | ../tools/dis/dis | ../tools/as/as > $1.bc.1 || exit 1
+$AS < $1 | $OPT -q -inline -dce -constprop -dce | $DIS | $AS > $1.bc.1 || exit 1
 
 # Should not be able to optimize further!
-../tools/opt/opt -q -constprop -dce < $1.bc.1 > $1.bc.2 || exit 2
+$OPT -q -constprop -dce < $1.bc.1 > $1.bc.2 || exit 2
 
-../tools/dis/dis < $1.bc.1 > $1.ll.1 || exit 3
-../tools/dis/dis < $1.bc.2 > $1.ll.2 || exit 3
+$DIS < $1.bc.1 > $1.ll.1 || exit 3
+$DIS < $1.bc.2 > $1.ll.2 || exit 3
 diff $1.ll.[12] || exit 3
 
 # Try out SCCP
-../tools/as/as < $1 | ../tools/opt/opt -q -inline -dce -sccp -dce | ../tools/dis/dis | ../tools/as/as > $1.bc.3 || exit 1
+$AS < $1 | $OPT -q -inline -dce -sccp -dce | $DIS | $AS > $1.bc.3 || exit 1
 
 # Should not be able to optimize further!
-#../tools/opt/opt -q -sccp -dce < $1.bc.3 > $1.bc.4 || exit 2
+#$OPT -q -sccp -dce < $1.bc.3 > $1.bc.4 || exit 2
 
 #diff $1.bc.[34] || exit 3
 rm $1.bc.[123] $1.ll.[12]
index ff2f0851aedd66429817b6d2115e28573c64ca4c..a6ab810dff428180204002527e94facc76264c28 100644 (file)
@@ -1,4 +1,5 @@
-setenv LD_LIBRARY_PATH ../lib/Assembly/Parser/Debug:../lib/Assembly/Writer/Debug:../lib/Analysis/Debug:../lib/VMCore/Debug:../lib/Bytecode/Writer/Debug:../lib/Bytecode/Reader/Debug:../lib/Optimizations/Debug
+setenv LD_LIBRARY_PATH ../lib/Debug
+
+setenv PATH ../tools/Debug:${PATH}
+alias as ../tools/Debug/as
 
-setenv PATH ../lib/CodeGen:../tools/dis:../tools/opt:../tools/strip:../tools/analyze:../tools/llc:${PATH}
-alias as ../tools/as/as
index 0867d01c8e3b495b83beec5231c29111ec8301e3..1932541986b2d1615602666a50389fe56387f720 100755 (executable)
@@ -1,4 +1,4 @@
-setenv LD_LIBRARY_PATH ../lib/Assembly/Parser/Release:../lib/Assembly/Writer/Release:../lib/Analysis/Release:../lib/VMCore/Release:../lib/Bytecode/Writer/Release:../lib/Bytecode/Reader/Release:../lib/Optimizations/Release
+setenv LD_LIBRARY_PATH ../lib/Release
 
-setenv PATH ../tools/dis:../tools/opt:../tools/strip:../tools/analyze:${PATH}
-alias as ../tools/as/as
+setenv PATH ../tools/Release:${PATH}
+alias as ../tools/Release/as