forked from OSchip/llvm-project
Fix strip-dead-debug-info test if path contains "bar".
This test checks that the string 'bar' (no quotes) doesn't exist in the output after running opt. But opt embeds the absolute path to the filename, and on my machine, the filename contains the string 'jlebar', causing the test to fail. This patch changes the test to look for the string '"bar"' instead. llvm-svn: 272941
This commit is contained in:
parent
4ce6a93226
commit
b0bd07aff7
|
@ -1,8 +1,8 @@
|
|||
; RUN: opt -strip-dead-debug-info -verify %s -S | FileCheck %s
|
||||
|
||||
; CHECK: ModuleID = '{{.*}}'
|
||||
; CHECK-NOT: bar
|
||||
; CHECK-NOT: abcd
|
||||
; CHECK-NOT: "bar"
|
||||
; CHECK-NOT: "abcd"
|
||||
|
||||
@xyz = global i32 2
|
||||
|
||||
|
|
Loading…
Reference in New Issue