Make these tests fail if opt crashes.

llvm-svn: 26127
This commit is contained in:
Chris Lattner 2006-02-12 01:32:58 +00:00
parent 35248e06bc
commit 8e99b0baca
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
; This test makes sure that these instructions are properly eliminated. ; This test makes sure that these instructions are properly eliminated.
; ;
; RUN: llvm-as < %s | opt -instcombine -disable-output &&
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sh ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sh
implementation implementation

View File

@ -1,6 +1,7 @@
; This test makes sure that these instructions are properly eliminated. ; This test makes sure that these instructions are properly eliminated.
; ;
; RUN: llvm-as < %s | opt -instcombine -disable-output &&
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor ' ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor '
%G1 = global uint 0 %G1 = global uint 0