Files
archived-llvm/test/tools/obj2yaml/invalid_input_file.test
Sam Clegg b856c16f91 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
2017-06-16 23:29:54 +00:00

5 lines
197 B
Plaintext

# 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: {{.*}}