Skip to content

Commit

Permalink
[llvm-symbolizer] Improve the test for missing input file.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252020 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
vonosmas committed Nov 4, 2015
1 parent d660541 commit a6c7bb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/DebugInfo/llvm-symbolizer.test
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ CHECK-NEXT: main
CHECK-NEXT: /tmp{{[/\\]}}cross-cu-inlining.c:11:0

RUN: echo "unexisting-file 0x1234" > %t.input2
RUN: llvm-symbolizer < %t.input2
RUN: llvm-symbolizer < %t.input2 2>&1 | FileCheck %s --check-prefix=MISSING-FILE

MISSING-FILE: LLVMSymbolizer: error reading file: No such file or directory.

RUN: echo "%p/Inputs/macho-universal 0x1f84" > %t.input3
RUN: llvm-symbolizer < %t.input3 | FileCheck %s --check-prefix=UNKNOWN-ARCH
Expand Down

0 comments on commit a6c7bb0

Please sign in to comment.