r341498 - Remove unnecessary options from test RUN lines.

Richard Trieu via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 5 15:14:46 PDT 2018


Author: rtrieu
Date: Wed Sep  5 15:14:46 2018
New Revision: 341498

URL: http://llvm.org/viewvc/llvm-project?rev=341498&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Modules/odr_hash-Friend.cpp
    cfe/trunk/test/Modules/odr_hash-gnu.cpp

Modified: cfe/trunk/test/Modules/odr_hash-Friend.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/odr_hash-Friend.cpp?rev=341498&r1=341497&r2=341498&view=diff
==============================================================================
--- cfe/trunk/test/Modules/odr_hash-Friend.cpp (original)
+++ cfe/trunk/test/Modules/odr_hash-Friend.cpp Wed Sep  5 15:14:46 2018
@@ -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"

Modified: cfe/trunk/test/Modules/odr_hash-gnu.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/odr_hash-gnu.cpp?rev=341498&r1=341497&r2=341498&view=diff
==============================================================================
--- cfe/trunk/test/Modules/odr_hash-gnu.cpp (original)
+++ cfe/trunk/test/Modules/odr_hash-gnu.cpp Wed Sep  5 15:14:46 2018
@@ -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"




More information about the cfe-commits mailing list