public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add missing dir to create_testsuite_files script
@ 2018-11-14 14:23 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2018-11-14 14:23 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

	* scripts/create_testsuite_files: Add special_functions to the list
	of directories to search. Add comment referring to conformance.exp.
	* testsuite/libstdc++-dg/conformance.exp: Add comment referring
	to create_testsuite_files.

Committed to trunk.


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1955 bytes --]

commit de9099395703eac44f7d1ab7c06dc20718dcc0b8
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Nov 14 14:11:14 2018 +0000

    Add missing dir to create_testsuite_files script
    
            * scripts/create_testsuite_files: Add special_functions to the list
            of directories to search. Add comment referring to conformance.exp.
            * testsuite/libstdc++-dg/conformance.exp: Add comment referring
            to create_testsuite_files.

diff --git a/libstdc++-v3/scripts/create_testsuite_files b/libstdc++-v3/scripts/create_testsuite_files
index 156304c2ad2..40e81cea8a9 100755
--- a/libstdc++-v3/scripts/create_testsuite_files
+++ b/libstdc++-v3/scripts/create_testsuite_files
@@ -31,8 +31,10 @@ tests_file_perf="$outdir/testsuite_files_performance"
 cd $srcdir
 # This is the ugly version of "everything but the current directory".  It's
 # what has to happen when find(1) doesn't support -mindepth, or -xtype.
+# The directories here should be consistent with libstdc++-dg/conformance.exp
 dlist=`echo [0-9][0-9]*`
 dlist="$dlist abi backward ext performance tr1 tr2 decimal experimental"
+dlist="$dlist special_functions"
 find $dlist "(" -type f -o -type l ")" -name "*.cc" -print > $tmp.01
 find $dlist "(" -type f -o -type l ")" -name "*.c" -print > $tmp.02
 cat  $tmp.01 $tmp.02 | sort > $tmp.1
diff --git a/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp b/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
index 49ac6fb1649..f372d670f6b 100644
--- a/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
+++ b/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
@@ -52,6 +52,7 @@ if {[info exists tests_file] && [file exists $tests_file]} {
     close $f
 } else {
     # Find directories that might have tests.
+    # This list should be consistent with scripts/create_testsuite_files
     set subdirs [glob "$srcdir/\[0-9\]\[0-9\]*"]
     lappend subdirs "$srcdir/abi"
     lappend subdirs "$srcdir/backward"

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

only message in thread, other threads:[~2018-11-14 14:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 14:23 [PATCH] Add missing dir to create_testsuite_files script 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).