r185679 - Use the new --crash option in commands that are expected to crash.

Rafael Espindola rafael.espindola at gmail.com
Thu Jul 4 19:53:30 PDT 2013


Author: rafael
Date: Thu Jul  4 21:53:30 2013
New Revision: 185679

URL: http://llvm.org/viewvc/llvm-project?rev=185679&view=rev
Log:
Use the new --crash option in commands that are expected to crash.

Modified:
    cfe/trunk/test/PCH/badpch.c
    cfe/trunk/test/Parser/crash-report.c

Modified: cfe/trunk/test/PCH/badpch.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/badpch.c?rev=185679&r1=185678&r2=185679&view=diff
==============================================================================
--- cfe/trunk/test/PCH/badpch.c (original)
+++ cfe/trunk/test/PCH/badpch.c Thu Jul  4 21:53:30 2013
@@ -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.

Modified: cfe/trunk/test/Parser/crash-report.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/crash-report.c?rev=185679&r1=185678&r2=185679&view=diff
==============================================================================
--- cfe/trunk/test/Parser/crash-report.c (original)
+++ cfe/trunk/test/Parser/crash-report.c Thu Jul  4 21:53:30 2013
@@ -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\





More information about the cfe-commits mailing list