]> granicus.if.org Git - clang/commitdiff
Use the new --crash option in commands that are expected to crash.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 Jul 2013 02:53:30 +0000 (02:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 Jul 2013 02:53:30 +0000 (02:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185679 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/badpch.c
test/Parser/crash-report.c

index c302329aaae82aa735d2e8419f21c823e314e8d5..35e9c6ec852b0f3f2f8f0d1c82c12e9c3f5d4f66 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: not %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-empty.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-EMPTY %s
-// RUN: not %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-dir.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-DIR %s
+// RUN: not --crash %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-dir.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-DIR %s
 
 // The purpose of this test is to verify that various invalid PCH files are
 // reported as such.
index d3d142929b4cac6c1c4896476f7a890ec56755e7..6f3706299d1bf31dfe3ce5ac51ffd92fa3475b0e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: not %clang_cc1 %s 2>&1 | FileCheck %s
+// RUN: not --crash %clang_cc1 %s 2>&1 | FileCheck %s
 // REQUIRES: crash-recovery
 
 #prag\