summaryrefslogtreecommitdiffstats
path: root/test/Feature
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-28 17:40:15 +0000
committerChris Lattner <sabre@nondot.org>2001-07-28 17:40:15 +0000
commitdc693b89659f03c08c21e68f4616c4ca6c4d0231 (patch)
tree544b07179ad6c733b7fa76585b978adc3552a6c9 /test/Feature
parente17303dc9bf9ae057c88b09726aaf1776c79792b (diff)
downloadexternal_llvm-dc693b89659f03c08c21e68f4616c4ca6c4d0231.zip
external_llvm-dc693b89659f03c08c21e68f4616c4ca6c4d0231.tar.gz
external_llvm-dc693b89659f03c08c21e68f4616c4ca6c4d0231.tar.bz2
Changes to make test scripts more reliable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rwxr-xr-xtest/Feature/TestAsmDisasm.sh2
-rwxr-xr-xtest/Feature/TestOptimizer.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/TestAsmDisasm.sh b/test/Feature/TestAsmDisasm.sh
index 641dd2a..56e3833 100755
--- a/test/Feature/TestAsmDisasm.sh
+++ b/test/Feature/TestAsmDisasm.sh
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
# FIXME: We must strip symbols, because the symbol tables are not output in
# sorted order in the bytecode :(
-../tools/as/as < $1 | opt -q -strip > $1.bc.1 || exit 1
+../tools/as/as < $1 | ../tools/opt/opt -q -strip > $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
diff --git a/test/Feature/TestOptimizer.sh b/test/Feature/TestOptimizer.sh
index 54736471..12afa77 100755
--- a/test/Feature/TestOptimizer.sh
+++ b/test/Feature/TestOptimizer.sh
@@ -8,8 +8,8 @@ export LD_LIBRARY_PATH
# Should not be able to optimize further!
../tools/opt/opt -q -constprop -dce < $1.bc.1 > $1.bc.2 || exit 2
-dis < $1.bc.1 > $1.ll.1 || exit 3
-dis < $1.bc.2 > $1.ll.2 || exit 3
+../tools/dis/dis < $1.bc.1 > $1.ll.1 || exit 3
+../tools/dis/dis < $1.bc.2 > $1.ll.2 || exit 3
diff $1.ll.[12] || exit 3
# Try out SCCP