[llvm] r368044 - [test/Object] - Cleanup the Object\obj2yaml.test a bit.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 07:34:39 PDT 2019
Author: grimar
Date: Tue Aug 6 07:34:39 2019
New Revision: 368044
URL: http://llvm.org/viewvc/llvm-project?rev=368044&view=rev
Log:
[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
Removed:
llvm/trunk/test/Object/Inputs/unwind-section.elf-x86-64
Modified:
llvm/trunk/test/Object/obj2yaml.test
llvm/trunk/test/tools/obj2yaml/invalid_input_file.test
Removed: llvm/trunk/test/Object/Inputs/unwind-section.elf-x86-64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Inputs/unwind-section.elf-x86-64?rev=368043&view=auto
==============================================================================
Binary files llvm/trunk/test/Object/Inputs/unwind-section.elf-x86-64 (original) and llvm/trunk/test/Object/Inputs/unwind-section.elf-x86-64 (removed) differ
Modified: llvm/trunk/test/Object/obj2yaml.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/obj2yaml.test?rev=368044&r1=368043&r2=368044&view=diff
==============================================================================
--- llvm/trunk/test/Object/obj2yaml.test (original)
+++ llvm/trunk/test/Object/obj2yaml.test Tue Aug 6 07:34:39 2019
@@ -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
Modified: llvm/trunk/test/tools/obj2yaml/invalid_input_file.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/obj2yaml/invalid_input_file.test?rev=368044&r1=368043&r2=368044&view=diff
==============================================================================
--- llvm/trunk/test/tools/obj2yaml/invalid_input_file.test (original)
+++ llvm/trunk/test/tools/obj2yaml/invalid_input_file.test Tue Aug 6 07:34:39 2019
@@ -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
More information about the llvm-commits
mailing list