[llvm] r238985 - Improve test added in r238481.
Alexey Samsonov
vonosmas at gmail.com
Wed Jun 3 15:36:17 PDT 2015
Author: samsonov
Date: Wed Jun 3 17:36:17 2015
New Revision: 238985
URL: http://llvm.org/viewvc/llvm-project?rev=238985&view=rev
Log:
Improve test added in r238481.
Modified:
llvm/trunk/test/DebugInfo/dwarfdump-invalid.test
Modified: llvm/trunk/test/DebugInfo/dwarfdump-invalid.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/dwarfdump-invalid.test?rev=238985&r1=238984&r2=238985&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/dwarfdump-invalid.test (original)
+++ llvm/trunk/test/DebugInfo/dwarfdump-invalid.test Wed Jun 3 17:36:17 2015
@@ -1,4 +1,4 @@
; Verify that llvm-dwarfdump doesn't crash on broken input files.
-RUN: llvm-dwarfdump %p/Inputs/invalid.elf
-
+RUN: llvm-dwarfdump %p/Inputs/invalid.elf 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
+INVALID-ELF: Invalid data was encountered while parsing the file
More information about the llvm-commits
mailing list