summaryrefslogtreecommitdiffstats
path: root/test/Transforms/LowerSwitch
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-16 17:36:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-16 17:36:08 +0000
commiteb1d74e0c8b2c08b98e9175be137ec4ae617a8b7 (patch)
tree369be5c4e0bcec5a0a48cba3f45020ecda6b42db /test/Transforms/LowerSwitch
parent725aed34076e70aa30a7a8d2ae3a44e6eef02410 (diff)
downloadexternal_llvm-eb1d74e0c8b2c08b98e9175be137ec4ae617a8b7.zip
external_llvm-eb1d74e0c8b2c08b98e9175be137ec4ae617a8b7.tar.gz
external_llvm-eb1d74e0c8b2c08b98e9175be137ec4ae617a8b7.tar.bz2
For PR1319:
Remove && from the end of the lines to prevent tests from throwing run lines into the background. Also, clean up places where the same command is run multiple times by using a temporary file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LowerSwitch')
-rw-r--r--test/Transforms/LowerSwitch/feature.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Transforms/LowerSwitch/feature.ll b/test/Transforms/LowerSwitch/feature.ll
index cb88e31..0b3cdc7 100644
--- a/test/Transforms/LowerSwitch/feature.ll
+++ b/test/Transforms/LowerSwitch/feature.ll
@@ -1,6 +1,7 @@
-; RUN: llvm-as %s -o - | opt -lowerswitch | llvm-dis | grep slt | wc -l | grep 10 &&
-; RUN: llvm-as %s -o - | opt -lowerswitch | llvm-dis | grep ule | wc -l | grep 3 &&
-; RUN: llvm-as %s -o - | opt -lowerswitch | llvm-dis | grep eq | wc -l | grep 9
+; RUN: llvm-as %s -o - | opt -lowerswitch | llvm-dis > %t
+; RUN: grep slt %t | wc -l | grep 10
+; RUN: grep ule %t | wc -l | grep 3
+; RUN: grep eq %t | wc -l | grep 9
define i32 @main(i32 %tmp158) {
entry: