[llvm] 5e656ee - Add "not" to an llvm-symbolizer test that expects to fail

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 22:22:17 PDT 2020


Thanks for the cleanup - sorry I missed it!

On Thu, Oct 15, 2020 at 7:10 AM Jeremy Morse via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

>
> 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
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/b7997b17/attachment.html>


More information about the llvm-commits mailing list