From c92b951567f286277cc1bae3ba1221e742e1a215 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 llvm-svn: 368044 --- llvm/test/Object/Inputs/unwind-section.elf-x86-64 | Bin 2369 -> 0 bytes llvm/test/Object/obj2yaml.test | 10 ---------- llvm/test/tools/obj2yaml/invalid_input_file.test | 3 +-- 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 llvm/test/Object/Inputs/unwind-section.elf-x86-64 diff --git a/llvm/test/Object/Inputs/unwind-section.elf-x86-64 b/llvm/test/Object/Inputs/unwind-section.elf-x86-64 deleted file mode 100644 index 3a845086510a010513041c42cfef7871a3306214..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2369 zcmbtWJ5R$f5WZmE&+;l=Sh|3angKB|p)NcIRIwm2Afc2dfS{yGQmL@O$i&WHU}xs9 zahIG+xFnKkPO{JU-F@e?>$rY7JUtq-ECnnU9Dt>bl&++}W{fwX2J3O`658ah5N=2A zAOic*k6avvIJ|qj!@eDciO+630oXTz-|sQt`92elTjz~1a<1>e_K*g)dwb;tPS=HJ zw}aN;`k~*UQFt3hLFBY?r1eubwgbQ8L=M<--$?4fv~q&o6aZLJqmEV7X#wSA3+c-_ zDVmH;v#z2Z!#2*g)wFw3zPS1(IY&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 573e753..0f1bac1 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 -- 2.7.4