[llvm] r271135 - Update test to deal with non-zero exit codes
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Sat May 28 12:02:12 PDT 2016
Author: majnemer
Date: Sat May 28 14:02:12 2016
New Revision: 271135
URL: http://llvm.org/viewvc/llvm-project?rev=271135&view=rev
Log:
Update test to deal with non-zero exit codes
Modified:
llvm/trunk/test/DebugInfo/PDB/pdbdump-headers.test
Modified: llvm/trunk/test/DebugInfo/PDB/pdbdump-headers.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/PDB/pdbdump-headers.test?rev=271135&r1=271134&r2=271135&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/PDB/pdbdump-headers.test (original)
+++ llvm/trunk/test/DebugInfo/PDB/pdbdump-headers.test Sat May 28 14:02:12 2016
@@ -6,7 +6,7 @@
; RUN: llvm-pdbdump -raw-all %p/Inputs/empty.pdb | FileCheck -check-prefix=ALL %s
; RUN: llvm-pdbdump -raw-headers -raw-stream-name=/names -raw-modules -raw-module-files \
; RUN: %p/Inputs/big-read.pdb | FileCheck -check-prefix=BIG %s
-; RUN: llvm-pdbdump -raw-headers %p/Inputs/bad-block-size.pdb | FileCheck -check-prefix=BAD-BLOCK-SIZE %s
+; RUN: not llvm-pdbdump -raw-headers %p/Inputs/bad-block-size.pdb 2>&1 | FileCheck -check-prefix=BAD-BLOCK-SIZE %s
; EMPTY: FileHeaders {
; EMPTY-NEXT: BlockSize: 4096
More information about the llvm-commits
mailing list