From 78ef03b7c3a41afab87ad6b89c7c2dde5b600cbc Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 14 Nov 2018 14:25:00 +0000 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 7 +++++++ libstdc++-v3/scripts/create_testsuite_files | 2 ++ libstdc++-v3/testsuite/libstdc++-dg/conformance.exp | 1 + 3 files changed, 10 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4ea9dbfc18a..9b4bdc694d8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2018-11-14 Jonathan Wakely + + * 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 * 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 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" -- 2.30.2