From: Rafael Espindola Date: Fri, 5 Jul 2013 02:53:30 +0000 (+0000) Subject: Use the new --crash option in commands that are expected to crash. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7a5120f9dbc87b026233eb9e8a00be636265d0c;p=clang Use the new --crash option in commands that are expected to crash. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185679 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/PCH/badpch.c b/test/PCH/badpch.c index c302329aaa..35e9c6ec85 100644 --- a/test/PCH/badpch.c +++ b/test/PCH/badpch.c @@ -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. diff --git a/test/Parser/crash-report.c b/test/Parser/crash-report.c index d3d142929b..6f3706299d 100644 --- a/test/Parser/crash-report.c +++ b/test/Parser/crash-report.c @@ -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\