[llvm-commits] CVS: llvm/test/Transforms/LowerSwitch/feature.ll

Reid Spencer reid at x10sys.com
Mon Apr 16 10:38:17 PDT 2007



Changes in directory llvm/test/Transforms/LowerSwitch:

feature.ll updated: 1.1 -> 1.2
---
Log message:

For PR1319: http://llvm.org/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.


---
Diffs of the changes:  (+4 -3)

 feature.ll |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/test/Transforms/LowerSwitch/feature.ll
diff -u llvm/test/Transforms/LowerSwitch/feature.ll:1.1 llvm/test/Transforms/LowerSwitch/feature.ll:1.2
--- llvm/test/Transforms/LowerSwitch/feature.ll:1.1	Sat Mar 10 10:46:28 2007
+++ llvm/test/Transforms/LowerSwitch/feature.ll	Mon Apr 16 12:36:08 2007
@@ -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:






More information about the llvm-commits mailing list