From f7d93c855423a339d0c213924f1a5979c7ec82ff Mon Sep 17 00:00:00 2001 From: George Rimar Date: Tue, 6 Aug 2019 14:34:39 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368044 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Object/Inputs/unwind-section.elf-x86-64 | Bin 2369 -> 0 bytes test/Object/obj2yaml.test | 10 ---------- test/tools/obj2yaml/invalid_input_file.test | 3 +-- 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 test/Object/Inputs/unwind-section.elf-x86-64 diff --git a/test/Object/Inputs/unwind-section.elf-x86-64 b/test/Object/Inputs/unwind-section.elf-x86-64 deleted file mode 100644 index 3a845086510a010513041c42cfef7871a3306214..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcwPel00001 literal 2369 zcwVKJzfZzI6vrPw1%H94$l}7HF`$wVRrqy(Ich^sgU8`M@{KNwpGd}0h@!?z|r z7(>UmMAsAD{;)6Fw&#WCjJD~5@#s3^5dqtA$Z*xVt$DuLc>=>0HZZK-gYB9F3tp|R zIGS{x$6f4sJl++SyW@oURp;Yb{O8E zoTFS8kra`p<0z~AP0I6ryyvn%L6L<;-2ksNEb1LX|EwTLy8a4;b6nM52Vm<@<(J2P zG7P2b|6&+Q*Z;vVl&-%7%RN8Y--Q49r^J#H*Y)2q45jN|qmZTRH;84W1?c(@iItc1 zpHOavY_#hAyZ>X;d9LgKW*AD>f5tGBuHT0E-bY3LABoHU3B+p;RivUgrjrL0(fhDM zc?A6R>-jL}CC;stQ#fur#xn|zO0hFRF2D66o>6dlH%FY?DadocDHU6N#Mc#kL%}x{ kd`rPq_otxXMFr>n8IhM1d{@Eu6r8Vy6jzb>6@woxzp>y|I{*Lx diff --git a/test/Object/obj2yaml.test b/test/Object/obj2yaml.test index 00457ee9041..badc604239a 100644 --- a/test/Object/obj2yaml.test +++ b/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/test/tools/obj2yaml/invalid_input_file.test b/test/tools/obj2yaml/invalid_input_file.test index 573e753c8a8..0f1bac1be01 100644 --- a/test/tools/obj2yaml/invalid_input_file.test +++ b/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 -- 2.11.4.GIT