public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Add log line to testsuite output
@ 2023-09-15 23:04 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-09-15 23:04 UTC (permalink / raw)
  To: libstdc++, gcc-patches

Tested aarch64-linux. Pushed to trunk.

This makes it easier to debug the problem when a test isn't running
because there's a testsuite_files that doesn't include it.

-- >8 --

Write a line to the log when using a testsuite_files file.

libstdc++-v3/ChangeLog:

	* testsuite/libstdc++-dg/conformance.exp: Add log line when
	using testsuite_files.
---
 libstdc++-v3/testsuite/libstdc++-dg/conformance.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp b/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
index 76679739823..96dcc1f8cff 100644
--- a/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
+++ b/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
@@ -44,6 +44,7 @@ if {[info exists blddir]} {
 }
 if {[info exists tests_file] && [file exists $tests_file]} {
     set f [open $tests_file]
+    verbose -log "reading test files from $tests_file" 1
     while { ! [eof $f] } {
 	set t [gets $f]
 	if { [string length "$t"] != 0 } {
-- 
2.41.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-15 23:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 23:04 [committed] libstdc++: Add log line to testsuite output Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).