Skip to content

Commit

Permalink
Add "not" to an llvm-symbolizer test that expects to fail
Browse files Browse the repository at this point in the history
In a7b209a, llvm-symbolizer was adjusted to return a failure status
code when it produced an error, to flag up DWARF parsing problems. The
test for missing PDB file is analogous, and returns a failure status now
too.

This should fix the llvm-clang-win-x-armv7l buildbot croaking:

  http://lab.llvm.org:8011/#/builders/60/builds/77
  • Loading branch information
jmorse committed Oct 15, 2020
1 parent 663f166 commit 5e656ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RUN: llvm-symbolizer 0x401000 0x401001 -obj="%p/Inputs/missing_pdb.exe" 2>%t.err \
RUN: not llvm-symbolizer 0x401000 0x401001 -obj="%p/Inputs/missing_pdb.exe" 2>%t.err \
RUN: | FileCheck %s
RUN: FileCheck --check-prefix=ERROR %s < %t.err

Expand Down

0 comments on commit 5e656ee

Please sign in to comment.