diff options
author | Filipe Cabecinhas <me@filcab.net> | 2014-05-23 05:52:12 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2014-05-23 05:52:12 +0000 |
commit | f97e200a98052d0f61711580b4f5142a59d9dc46 (patch) | |
tree | 1ec721a34d1e4305ab1c0f35bda52d18902eda95 /test/Object/ar-error.test | |
parent | 1ed412cb72c3e0a6d5cfeaf756ab1fd014f1844b (diff) |
llvm-ar: Output the file we errored on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/ar-error.test')
-rw-r--r-- | test/Object/ar-error.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Object/ar-error.test b/test/Object/ar-error.test new file mode 100644 index 00000000000..9b8ddbd78fb --- /dev/null +++ b/test/Object/ar-error.test @@ -0,0 +1,5 @@ +Test if we get a proper error with a filename that doesn't exist + +RUN: not llvm-ar r %t.out.a sparkle.o %t 2>&1 | FileCheck %s + +CHECK: llvm-ar{{(.exe|.EXE)?}}: sparkle.o: No such file or directory |