Skip to content

Commit c92b951

Browse files
author
George Rimar
committed
[test/Object] - Cleanup the Object\obj2yaml.test a bit.
This makes 2 changes: 1) Removes unwind-section.elf-x86-64 object and the corresponding test case, because SHT_X86_64_UNWIND is already tested here: https://github.com/llvm-mirror/llvm/blob/master/test/tools/obj2yaml/section-type.yaml 2) Removes/partially moves "No such file or directory" test, because we already have a similar test here: https://github.com/llvm-mirror/llvm/blob/master/test/tools/obj2yaml/invalid_input_file.test Differential revision: https://reviews.llvm.org/D65570 llvm-svn: 368044
1 parent dae5dda commit c92b951

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed
-2.31 KB
Binary file not shown.

llvm/test/Object/obj2yaml.test

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -766,13 +766,3 @@ Symbols:
766766
# WASM-NEXT: Flags: [ ]
767767
# WASM-NEXT: - Index: 1
768768
# WASM: ...
769-
770-
# RUN: obj2yaml %p/Inputs/unwind-section.elf-x86-64 | FileCheck %s --check-prefix ELF-X86-64-UNWIND
771-
772-
# ELF-X86-64-UNWIND: - Name: .eh_frame
773-
# ELF-X86-64-UNWIND-NEXT: Type: SHT_X86_64_UNWIND
774-
# ELF-X86-64-UNWIND-NEXT: Flags: [ SHF_ALLOC ]
775-
# ELF-X86-64-UNWIND-NEXT: AddressAlign: 0x0000000000000001
776-
777-
# RUN: not obj2yaml %t.blah 2>&1 | FileCheck --check-prefix=ENOENT %s
778-
# ENOENT: Error reading file: {{.*}}.blah: {{[Nn]}}o such file or directory
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# RUN: not obj2yaml %p/path/does/not/exist 2>&1 | FileCheck %s
22

3-
# Don't check the OS-dependent message "No such file or directory".
4-
# CHECK: Error reading file: {{.*}}/path/does/not/exist: {{.*}}
3+
# CHECK: Error reading file: {{.*}}/path/does/not/exist: {{[Nn]}}o such file or directory

0 commit comments

Comments
 (0)