[llvm] 5e656ee - Add "not" to an llvm-symbolizer test that expects to fail
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 07:10:14 PDT 2020
Author: Jeremy Morse
Date: 2020-10-15T15:09:33+01:00
New Revision: 5e656ee48bccc73f1328db1770770acaec90a7c9
URL: https://github.com/llvm/llvm-project/commit/5e656ee48bccc73f1328db1770770acaec90a7c9
DIFF: https://github.com/llvm/llvm-project/commit/5e656ee48bccc73f1328db1770770acaec90a7c9.diff
LOG: Add "not" to an llvm-symbolizer test that expects to fail
In a7b209a6d40d77b, 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
Added:
Modified:
llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test b/llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
index b83b46a75213..7e7fa79c4b38 100644
--- a/llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
+++ b/llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
@@ -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
More information about the llvm-commits
mailing list