Skip to content

Commit f0f3d1b

Browse files
committed
Revert "Fix Windows llvm-objdump tests"
It had already been fixed in a different way.
1 parent 173389e commit f0f3d1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/tools/llvm-objdump/X86/source-interleave-prefix-non-windows.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
; RUN: sed -e "s,SRC_COMPDIR,/Inputs,g" %p/Inputs/source-interleave.ll > %t.ll
88
; RUN: llc -o %t.o -filetype=obj -mtriple=x86_64-pc-linux %t.ll
99
; RUN: llvm-objdump --prefix 'myprefix/\' --source %t.o 2>&1 | FileCheck %s -DFILE=%t.o -DPREFIX='myprefix/\'
10-
; CHECK: warning: '[[FILE]]': failed to find source {{.*}}source-interleave-x86_64.c
10+
; CHECK: warning: '[[FILE]]': failed to find source [[PREFIX]]/Inputs/source-interleave-x86_64.c

llvm/test/tools/llvm-objdump/X86/source-interleave-prefix.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
; RUN: llc -o %t-relative-path.o -filetype=obj -mtriple=x86_64-pc-linux %t-relative-path.ll
88
; RUN: llvm-objdump --prefix myprefix --source %t-relative-path.o 2>&1 | \
99
; RUN: FileCheck %s --check-prefix=CHECK-BROKEN-PREFIX -DFILE=%t-relative-path.o -DPREFIX=.
10-
; CHECK-BROKEN-PREFIX: warning: '[[FILE]]': failed to find source {{.*}}source-interleave-x86_64.c
10+
; CHECK-BROKEN-PREFIX: warning: '[[FILE]]': failed to find source [[PREFIX]]/Inputs/source-interleave-x86_64.c
1111

1212
;; Test invalid source interleave fixed by adding the correct prefix.
1313

0 commit comments

Comments
 (0)