diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-08-06 14:34:39 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-08-06 14:34:39 +0000 |
commit | c92b951567f286277cc1bae3ba1221e742e1a215 (patch) | |
tree | 6fe535983965660d5e65d07b93b459fda810817e /llvm | |
parent | dae5ddad9d1954c44a51c4b7bc8be1a5fb61a203 (diff) | |
download | bcm5719-llvm-c92b951567f286277cc1bae3ba1221e742e1a215.tar.gz bcm5719-llvm-c92b951567f286277cc1bae3ba1221e742e1a215.zip |
[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
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/Object/Inputs/unwind-section.elf-x86-64 | bin | 2369 -> 0 bytes | |||
-rw-r--r-- | llvm/test/Object/obj2yaml.test | 10 | ||||
-rw-r--r-- | llvm/test/tools/obj2yaml/invalid_input_file.test | 3 |
3 files changed, 1 insertions, 12 deletions
diff --git a/llvm/test/Object/Inputs/unwind-section.elf-x86-64 b/llvm/test/Object/Inputs/unwind-section.elf-x86-64 Binary files differdeleted file mode 100644 index 3a845086510..00000000000 --- a/llvm/test/Object/Inputs/unwind-section.elf-x86-64 +++ /dev/null diff --git a/llvm/test/Object/obj2yaml.test b/llvm/test/Object/obj2yaml.test index 00457ee9041..badc604239a 100644 --- a/llvm/test/Object/obj2yaml.test +++ b/llvm/test/Object/obj2yaml.test @@ -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 diff --git a/llvm/test/tools/obj2yaml/invalid_input_file.test b/llvm/test/tools/obj2yaml/invalid_input_file.test index 573e753c8a8..0f1bac1be01 100644 --- a/llvm/test/tools/obj2yaml/invalid_input_file.test +++ b/llvm/test/tools/obj2yaml/invalid_input_file.test @@ -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 |