[committed] libstdc++: Disable diagnostic URLs in testsuite

Message ID 20200227212526.GA2567813@redhat.com
State New
Headers show
Series
  • [committed] libstdc++: Disable diagnostic URLs in testsuite
Related show

Commit Message

Jonathan Wakely Feb. 27, 2020, 9:25 p.m.
* testsuite/lib/libstdc++.exp (v3_target_compile): Add
	-fdiagnostics-urls=never to options.

Tested x86_64-linux, committed to master.
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.

Patch

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}"