Rewrite test/ExecutionEngine tests to use FileCheck instead of grep

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Bendersky 2013-04-08 19:51:36 +00:00
parent ed36a47867
commit 20680b045a
4 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,5 @@
; RUN: %lli -force-interpreter=true %s | grep 1
; RUN: %lli -force-interpreter=true %s | FileCheck %s
; CHECK: 1
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i686-pc-linux-gnu"

View File

@ -1,4 +1,5 @@
; RUN: %lli_mcjit -force-interpreter=true %s | grep 1
; RUN: %lli_mcjit -force-interpreter=true %s | FileCheck %s
; CHECK: 1
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i686-pc-linux-gnu"

View File

@ -1,5 +1,6 @@
; RUN: %lli_mcjit -force-interpreter=true %s | grep 40091eb8
;
; RUN: %lli_mcjit -force-interpreter=true %s | FileCheck %s
; CHECK: 40091eb8
define i32 @test(double %x) {
entry:
%x46.i = bitcast double %x to i64

View File

@ -1,5 +1,6 @@
; RUN: %lli -force-interpreter=true %s | grep 40091eb8
;
; RUN: %lli -force-interpreter=true %s | FileCheck %s
; CHECK: 40091eb8
define i32 @test(double %x) {
entry:
%x46.i = bitcast double %x to i64