summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/PCH/badpch.c2
-rw-r--r--clang/test/Parser/crash-report.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/PCH/badpch.c b/clang/test/PCH/badpch.c
index c302329aaae..35e9c6ec852 100644
--- a/clang/test/PCH/badpch.c
+++ b/clang/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/clang/test/Parser/crash-report.c b/clang/test/Parser/crash-report.c
index d3d142929b4..6f3706299d1 100644
--- a/clang/test/Parser/crash-report.c
+++ b/clang/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\
OpenPOWER on IntegriCloud