aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-11-14 14:25:00 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2018-11-14 14:25:00 +0000
commit78ef03b7c3a41afab87ad6b89c7c2dde5b600cbc (patch)
tree366701cd4b4f4c3afe83d7b625af4b03ba62c34b
parent487a4df6327e4b58da91399babeb2c6f00e6ba17 (diff)
downloadgcc-78ef03b7c3a41afab87ad6b89c7c2dde5b600cbc.zip
gcc-78ef03b7c3a41afab87ad6b89c7c2dde5b600cbc.tar.gz
gcc-78ef03b7c3a41afab87ad6b89c7c2dde5b600cbc.tar.bz2
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. From-SVN: r266146
-rw-r--r--libstdc++-v3/ChangeLog7
-rwxr-xr-xlibstdc++-v3/scripts/create_testsuite_files2
-rw-r--r--libstdc++-v3/testsuite/libstdc++-dg/conformance.exp1
3 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4ea9dbf..9b4bdc6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2018-11-14 Jonathan Wakely <jwakely@redhat.com>
+
+ * 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.
+
2018-11-13 Jonathan Wakely <jwakely@redhat.com>
* src/c++17/memory_resource.cc (select_num_pools): Fix off-by-one
diff --git a/libstdc++-v3/scripts/create_testsuite_files b/libstdc++-v3/scripts/create_testsuite_files
index 156304c..40e81ce 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 49ac6fb..f372d67 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"