1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[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
This commit is contained in:
George Rimar 2019-08-06 14:34:39 +00:00
parent 0300038d2a
commit b9df2d78c5
3 changed files with 1 additions and 12 deletions

View File

@ -766,13 +766,3 @@ Symbols:
# WASM-NEXT: Flags: [ ]
# WASM-NEXT: - Index: 1
# WASM: ...
# RUN: obj2yaml %p/Inputs/unwind-section.elf-x86-64 | FileCheck %s --check-prefix ELF-X86-64-UNWIND
# ELF-X86-64-UNWIND: - Name: .eh_frame
# ELF-X86-64-UNWIND-NEXT: Type: SHT_X86_64_UNWIND
# ELF-X86-64-UNWIND-NEXT: Flags: [ SHF_ALLOC ]
# ELF-X86-64-UNWIND-NEXT: AddressAlign: 0x0000000000000001
# RUN: not obj2yaml %t.blah 2>&1 | FileCheck --check-prefix=ENOENT %s
# ENOENT: Error reading file: {{.*}}.blah: {{[Nn]}}o such file or directory

View File

@ -1,4 +1,3 @@
# RUN: not obj2yaml %p/path/does/not/exist 2>&1 | FileCheck %s
# Don't check the OS-dependent message "No such file or directory".
# CHECK: Error reading file: {{.*}}/path/does/not/exist: {{.*}}
# CHECK: Error reading file: {{.*}}/path/does/not/exist: {{[Nn]}}o such file or directory