From b9640bc0c266e2c5d2ec36828dc1ac66ab903112 Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Wed, 5 Sep 2018 22:14:46 +0000 Subject: [PATCH] Remove unnecessary options from test RUN lines. These tests do not check the color printing, so color options should not be used when running them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341498 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/odr_hash-Friend.cpp | 10 +++++----- test/Modules/odr_hash-gnu.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Modules/odr_hash-Friend.cpp b/test/Modules/odr_hash-Friend.cpp index 8a2513e2f9..e55d9e8fd4 100644 --- a/test/Modules/odr_hash-Friend.cpp +++ b/test/Modules/odr_hash-Friend.cpp @@ -9,7 +9,7 @@ // RUN: -fmodules \ // RUN: -fimplicit-module-maps \ // RUN: -fmodules-cache-path=%t/modules.cache \ -// RUN: -std=c++11 -x c++ %s -verify -DTEST1 -fcolor-diagnostics +// RUN: -std=c++11 -x c++ %s -verify -DTEST1 // RUN: %clang_cc1 \ // RUN: -I %S/Inputs/odr_hash-Friend \ @@ -17,7 +17,7 @@ // RUN: -fmodules \ // RUN: -fimplicit-module-maps \ // RUN: -fmodules-cache-path=%t/modules.cache \ -// RUN: -std=c++11 -x c++ %s -verify -DTEST2 -fcolor-diagnostics +// RUN: -std=c++11 -x c++ %s -verify -DTEST2 // RUN: %clang_cc1 \ // RUN: -I %S/Inputs/odr_hash-Friend \ @@ -25,7 +25,7 @@ // RUN: -fmodules \ // RUN: -fimplicit-module-maps \ // RUN: -fmodules-cache-path=%t/modules.cache \ -// RUN: -std=c++11 -x c++ %s -verify -DTEST3 -fcolor-diagnostics +// RUN: -std=c++11 -x c++ %s -verify -DTEST3 // RUN: %clang_cc1 \ // RUN: -I %S/Inputs/odr_hash-Friend \ @@ -33,7 +33,7 @@ // RUN: -fmodules \ // RUN: -fimplicit-module-maps \ // RUN: -fmodules-cache-path=%t/modules.cache \ -// RUN: -std=c++11 -x c++ %s -verify -DTEST3 -fcolor-diagnostics +// RUN: -std=c++11 -x c++ %s -verify -DTEST3 // RUN: %clang_cc1 \ // RUN: -I %S/Inputs/odr_hash-Friend \ @@ -41,7 +41,7 @@ // RUN: -fmodules \ // RUN: -fimplicit-module-maps \ // RUN: -fmodules-cache-path=%t/modules.cache \ -// RUN: -std=c++11 -x c++ %s -verify -DTEST3 -fcolor-diagnostics +// RUN: -std=c++11 -x c++ %s -verify -DTEST3 #if defined(TEST1) #include "Box.h" diff --git a/test/Modules/odr_hash-gnu.cpp b/test/Modules/odr_hash-gnu.cpp index 584c24d561..7091bb5598 100644 --- a/test/Modules/odr_hash-gnu.cpp +++ b/test/Modules/odr_hash-gnu.cpp @@ -25,7 +25,7 @@ // RUN: echo "}" >> %t/Inputs/module.map // Run test -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -x c++ -I%t/Inputs -verify %s -std=gnu++11 -fcolor-diagnostics +// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -x c++ -I%t/Inputs -verify %s -std=gnu++11 #if !defined(FIRST) && !defined(SECOND) #include "first.h" -- 2.40.0