]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
util: New directory.
authorBenjamin Kosnik <bkoz@redhat.com>
Wed, 7 Jun 2006 14:58:24 +0000 (14:58 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 7 Jun 2006 14:58:24 +0000 (14:58 +0000)
2006-06-06  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util: New directory.
* testsuite/testsuite_hooks.cc: Move to util sub-directory.
* testsuite/testsuite_abi_check.cc: Same.
* testsuite/testsuite_abi.cc: Same.
* testsuite/testsuite_tr1.h: Same.
* testsuite/testsuite_io.h: Same.
* testsuite/testsuite_iterators.h: Same.
* testsuite/testsuite_allocator.cc: Same.
* testsuite/testsuite_allocator.h: Same.
* testsuite/testsuite_hooks.h: Same.
* testsuite/testsuite_character.cc: Same.
* testsuite/testsuite_abi.h: Same.
* testsuite/testsuite_character.h: Same.
* testsuite/testsuite_visualization.h: Same.
* testsuite/testsuite_performance.h: Same.
* testsuite/testsuite_shared.cc: Same.
* testsuite/testsuite_common_types.h: Same.

* testsuite/lib/libstdc++.exp (v3-build_support): Adjust paths.
* testsuite/libstdc++-abi/abi.exp: Same.
* testsuite/libstdc++-dg/conformance.exp: Remove any files in the
utilities subdirectory from the list of test cases.

* scripts/testsuite_flags.in (build-includes): Adjust path for
testsuite includes.
* scripts/create_testsuite_files (dlist): Don't let utility files
creep into the testsuite_files list.

From-SVN: r114466

22 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/scripts/create_testsuite_files
libstdc++-v3/scripts/testsuite_flags.in
libstdc++-v3/testsuite/lib/libstdc++.exp
libstdc++-v3/testsuite/libstdc++-abi/abi.exp
libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
libstdc++-v3/testsuite/util/testsuite_abi.cc [moved from libstdc++-v3/testsuite/testsuite_abi.cc with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_abi.h [moved from libstdc++-v3/testsuite/testsuite_abi.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_abi_check.cc [moved from libstdc++-v3/testsuite/testsuite_abi_check.cc with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_allocator.cc [moved from libstdc++-v3/testsuite/testsuite_allocator.cc with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_allocator.h [moved from libstdc++-v3/testsuite/testsuite_allocator.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_character.cc [moved from libstdc++-v3/testsuite/testsuite_character.cc with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_character.h [moved from libstdc++-v3/testsuite/testsuite_character.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_common_types.h [moved from libstdc++-v3/testsuite/testsuite_common_types.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_hooks.cc [moved from libstdc++-v3/testsuite/testsuite_hooks.cc with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_hooks.h [moved from libstdc++-v3/testsuite/testsuite_hooks.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_io.h [moved from libstdc++-v3/testsuite/testsuite_io.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_iterators.h [moved from libstdc++-v3/testsuite/testsuite_iterators.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_performance.h [moved from libstdc++-v3/testsuite/testsuite_performance.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_shared.cc [moved from libstdc++-v3/testsuite/testsuite_shared.cc with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_tr1.h [moved from libstdc++-v3/testsuite/testsuite_tr1.h with 100% similarity]
libstdc++-v3/testsuite/util/testsuite_visualization.h [moved from libstdc++-v3/testsuite/testsuite_visualization.h with 100% similarity]

index 434050020961af33ad10eca211d85b1b5a72a343..3c7a84b24d52f628e7c145194fd417f52a247055 100644 (file)
@@ -1,3 +1,33 @@
+2006-06-06  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/util: New directory.
+       * testsuite/testsuite_hooks.cc: Move to util sub-directory.
+       * testsuite/testsuite_abi_check.cc: Same.
+       * testsuite/testsuite_abi.cc: Same.
+       * testsuite/testsuite_tr1.h: Same.
+       * testsuite/testsuite_io.h: Same.
+       * testsuite/testsuite_iterators.h: Same.
+       * testsuite/testsuite_allocator.cc: Same.
+       * testsuite/testsuite_allocator.h: Same.
+       * testsuite/testsuite_hooks.h: Same.
+       * testsuite/testsuite_character.cc: Same.
+       * testsuite/testsuite_abi.h: Same.
+       * testsuite/testsuite_character.h: Same.
+       * testsuite/testsuite_visualization.h: Same.
+       * testsuite/testsuite_performance.h: Same.
+       * testsuite/testsuite_shared.cc: Same.
+       * testsuite/testsuite_common_types.h: Same.
+
+       * testsuite/lib/libstdc++.exp (v3-build_support): Adjust paths.
+       * testsuite/libstdc++-abi/abi.exp: Same.
+       * testsuite/libstdc++-dg/conformance.exp: Remove any files in the
+       utilities subdirectory from the list of test cases.
+       
+       * scripts/testsuite_flags.in (build-includes): Adjust path for
+       testsuite includes.
+       * scripts/create_testsuite_files (dlist): Don't let utility files
+       creep into the testsuite_files list.
+       
 2006-06-06  Paolo Carlini  <pcarlini@suse.de>
 
        * include/tr1/random (mersenne_twister<>::operator==,
index d5305236140aed1f7347836d32d8531556cda422..74b2455d061e12cfff478bc66d8a60ced2d98c52 100755 (executable)
@@ -32,9 +32,7 @@ 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.
 dlist=`echo [0-9][0-9]*`
-for d in [a-z]*; do
-  test -d $d && dlist="$dlist $d"
-done
+dlist="$dlist backward demangle ext performance thread tr1"
 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
index 15a4d8599e6fd9bd8e8a0dffda2ca219805c0b98..aa4466a5326be0078409a83740e7c9be40d3fd16 100755 (executable)
@@ -35,7 +35,7 @@ case ${query} in
       ;;
     --build-includes)
       INCLUDES="-nostdinc++ @GLIBCXX_INCLUDES@ 
-                -I${SRC_DIR}/include/backward -I${SRC_DIR}/testsuite"
+                -I${SRC_DIR}/include/backward -I${SRC_DIR}/testsuite/util"
       echo ${INCLUDES}
       ;;
     --install-cxx)
index 6272027bac3f5f8f9b0661e734814534592aa992..e98397ba77cd87fecae33c5fabfff36ec035e870 100644 (file)
@@ -411,7 +411,7 @@ proc v3-build_support { } {
        set object_file [file rootname $f].o
        # Compile with "-w" so that warnings issued by the compiler
        # do not prevent compilation.
-       if { [v3_target_compile $srcdir/$f $object_file "object" \
+       if { [v3_target_compile $srcdir/util/$f $object_file "object" \
                  [list "incdir=$srcdir" "additional_flags=-w"]]
             != "" } {
            error "could not compile $f"
@@ -427,7 +427,7 @@ proc v3-build_support { } {
            set object_file [file rootname $f].so
            # Compile with "-w" so that warnings issued by the compiler
            # do not prevent compilation.
-           if { [v3_target_compile $srcdir/$f $object_file "sharedlib" \
+           if { [v3_target_compile $srcdir/util/$f $object_file "sharedlib" \
             [list "incdir=$srcdir" "additional_flags=-w -shared -fPIC -DPIC"]]
                 != "" } {
                error "could not compile $f"
index fac9ed25ee3d52db7840cae6b17247d47b5aee20..b3f5b3b59bedf71336a2850a470b0961cb1ce8c3 100644 (file)
@@ -32,7 +32,7 @@ remote_exec "build" "$srcdir/../scripts/extract_symvers" \
     [list "../src/.libs/libstdc++.so" "current_symbols.txt"]
 
 # Build the abi_check program.
-if { [v3_target_compile "$srcdir/testsuite_abi_check.cc" "abi_check" \
+if { [v3_target_compile "$srcdir/util/testsuite_abi_check.cc" "abi_check" \
       "executable" [list "additional_flags=-w"]] != "" } {
     error "could not compile testsuite_abi_check.cc"
 }
index 21bc3c1b9150f41c854ca649b980abba6ae3af38..a05ad3adb3fa1d33f84333e58b0ba98808adb40c 100644 (file)
@@ -53,11 +53,14 @@ if {[info exists tests_file] && [file exists $tests_file]} {
 } else {
     # Find directories that might have tests.
     set subdirs [glob "$srcdir/\[0-9\]\[0-9\]*"]
-    foreach d [glob "$srcdir/\[a-z\]*"] {
-       if {[file isdirectory $d]} { 
-           lappend subdirs $d
-       }
-    }
+    lappend subdirs "$srcdir/backward"
+    lappend subdirs "$srcdir/demangle"
+    lappend subdirs "$srcdir/ext"
+    lappend subdirs "$srcdir/performance"
+    lappend subdirs "$srcdir/tr1"
+    lappend subdirs "$srcdir/thread"
+    verbose "subdirs are $subdirs"
+
     # Find all the tests.
     foreach s $subdirs {
        set subdir_tests [find $s *.cc]
@@ -75,6 +78,7 @@ if {[info exists tests_file] && [file exists $tests_file]} {
                continue
            }
            # Filter out:
+           # 0. utilities, other parts of the testing infrastructure.
            # 1. interactive tests.
            # 2. performance tests.
            # 3. wchar_t tests, if not supported.