summaryrefslogtreecommitdiff
path: root/test/Object/obj2yaml.test
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-06-16 23:29:54 +0000
committerSam Clegg <sbc@chromium.org>2017-06-16 23:29:54 +0000
commitb856c16f91f955918fdfc103b56daf448dd1f98b (patch)
tree2dfa565946a0ae5b043917987ba2236e83691196 /test/Object/obj2yaml.test
parent86f1ba02a91d387ff523ca5f4653a940bdc49d87 (diff)
obj2yaml: Improve error reporting
Previously only the error codes were reported which meant that useful information about malformed inputs was not shown. Differential Revision: https://reviews.llvm.org/D34008 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/obj2yaml.test')
-rw-r--r--test/Object/obj2yaml.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Object/obj2yaml.test b/test/Object/obj2yaml.test
index 171488da78f..b89311db606 100644
--- a/test/Object/obj2yaml.test
+++ b/test/Object/obj2yaml.test
@@ -478,4 +478,4 @@ ELF-X86-64-UNWIND-NEXT: AddressAlign: 0x0000000000000001
ELF-X86-64-UNWIND-NEXT: Content: ''
RUN: not obj2yaml %t.blah 2>&1 | FileCheck --check-prefix=ENOENT %s
-ENOENT: Error: '{{[Nn]}}o such file or directory'
+ENOENT: Error reading file: {{.*}}.blah: {{[Nn]}}o such file or directory