[gcc/devel/c++-modules] libstdc++: Disable diagnostic URLs in testsuite

Nathan Sidwell nathan@gcc.gnu.org
Tue Mar 10 13:00:33 GMT 2020


https://gcc.gnu.org/g:449494943e65e4c9cf668a566b0da13e44d79f3b

commit 449494943e65e4c9cf668a566b0da13e44d79f3b
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Feb 27 17:45:06 2020 +0000

    libstdc++: Disable diagnostic URLs in testsuite
    
            * testsuite/lib/libstdc++.exp (v3_target_compile): Add
            -fdiagnostics-urls=never to options.

Diff:
---
 libstdc++-v3/ChangeLog                   | 5 +++++
 libstdc++-v3/testsuite/lib/libstdc++.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index dd28617d8d9..26e288d4f43 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-27  Jonathan Wakely  <jwakely@redhat.com>
+
+	* testsuite/lib/libstdc++.exp (v3_target_compile): Add
+	-fdiagnostics-urls=never to options.
+
 2020-02-27  Patrick Palka  <ppalka@redhat.com>
 
 	* include/std/ranges (transform_view::_Iterator<_Const>): Befriend
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 94f3fdb2bc8..10a7e748464 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -482,7 +482,7 @@ proc v3_target_compile { source dest type options } {
     global STATIC_LIBCXXFLAGS
     global tool
 
-    lappend options "additional_flags=-fno-diagnostics-show-caret -fdiagnostics-color=never"
+    lappend options "additional_flags=-fno-diagnostics-show-caret -fdiagnostics-color=never -fdiagnostics-urls=never"
 
     if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } {
 	lappend options "libs=${gluefile}"


More information about the Libstdc++-cvs mailing list