aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2006-06-07 14:58:24 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2006-06-07 14:58:24 +0000
commit3416d7cd4ba7b81b97d3b75a97abd7977b417e22 (patch)
tree9aba28e9b227fb14ae09c83a89a0d09f7195d64c /libstdc++-v3/testsuite
parent190e95346588b771817f4ebc2a4c0c46b9a46371 (diff)
downloadgcc-3416d7cd4ba7b81b97d3b75a97abd7977b417e22.zip
gcc-3416d7cd4ba7b81b97d3b75a97abd7977b417e22.tar.gz
gcc-3416d7cd4ba7b81b97d3b75a97abd7977b417e22.tar.bz2
util: New directory.
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
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp4
-rw-r--r--libstdc++-v3/testsuite/libstdc++-abi/abi.exp2
-rw-r--r--libstdc++-v3/testsuite/libstdc++-dg/conformance.exp14
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_abi.cc (renamed from libstdc++-v3/testsuite/testsuite_abi.cc)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_abi.h (renamed from libstdc++-v3/testsuite/testsuite_abi.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_abi_check.cc (renamed from libstdc++-v3/testsuite/testsuite_abi_check.cc)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_allocator.cc (renamed from libstdc++-v3/testsuite/testsuite_allocator.cc)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_allocator.h (renamed from libstdc++-v3/testsuite/testsuite_allocator.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_character.cc (renamed from libstdc++-v3/testsuite/testsuite_character.cc)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_character.h (renamed from libstdc++-v3/testsuite/testsuite_character.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_common_types.h (renamed from libstdc++-v3/testsuite/testsuite_common_types.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_hooks.cc (renamed from libstdc++-v3/testsuite/testsuite_hooks.cc)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_hooks.h (renamed from libstdc++-v3/testsuite/testsuite_hooks.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_io.h (renamed from libstdc++-v3/testsuite/testsuite_io.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_iterators.h (renamed from libstdc++-v3/testsuite/testsuite_iterators.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_performance.h (renamed from libstdc++-v3/testsuite/testsuite_performance.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_shared.cc (renamed from libstdc++-v3/testsuite/testsuite_shared.cc)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_tr1.h (renamed from libstdc++-v3/testsuite/testsuite_tr1.h)0
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_visualization.h (renamed from libstdc++-v3/testsuite/testsuite_visualization.h)0
19 files changed, 12 insertions, 8 deletions
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 6272027..e98397ba 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -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"
diff --git a/libstdc++-v3/testsuite/libstdc++-abi/abi.exp b/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
index fac9ed2..b3f5b3b 100644
--- a/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
+++ b/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
@@ -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"
}
diff --git a/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp b/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
index 21bc3c1..a05ad3a 100644
--- a/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
+++ b/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
@@ -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.
diff --git a/libstdc++-v3/testsuite/testsuite_abi.cc b/libstdc++-v3/testsuite/util/testsuite_abi.cc
index 6ed559f..6ed559f 100644
--- a/libstdc++-v3/testsuite/testsuite_abi.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc
diff --git a/libstdc++-v3/testsuite/testsuite_abi.h b/libstdc++-v3/testsuite/util/testsuite_abi.h
index 935d95b..935d95b 100644
--- a/libstdc++-v3/testsuite/testsuite_abi.h
+++ b/libstdc++-v3/testsuite/util/testsuite_abi.h
diff --git a/libstdc++-v3/testsuite/testsuite_abi_check.cc b/libstdc++-v3/testsuite/util/testsuite_abi_check.cc
index 12e882a..12e882a 100644
--- a/libstdc++-v3/testsuite/testsuite_abi_check.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_abi_check.cc
diff --git a/libstdc++-v3/testsuite/testsuite_allocator.cc b/libstdc++-v3/testsuite/util/testsuite_allocator.cc
index 6696872..6696872 100644
--- a/libstdc++-v3/testsuite/testsuite_allocator.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_allocator.cc
diff --git a/libstdc++-v3/testsuite/testsuite_allocator.h b/libstdc++-v3/testsuite/util/testsuite_allocator.h
index 0ea1215..0ea1215 100644
--- a/libstdc++-v3/testsuite/testsuite_allocator.h
+++ b/libstdc++-v3/testsuite/util/testsuite_allocator.h
diff --git a/libstdc++-v3/testsuite/testsuite_character.cc b/libstdc++-v3/testsuite/util/testsuite_character.cc
index 63a1fa3..63a1fa3 100644
--- a/libstdc++-v3/testsuite/testsuite_character.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_character.cc
diff --git a/libstdc++-v3/testsuite/testsuite_character.h b/libstdc++-v3/testsuite/util/testsuite_character.h
index a9e4847..a9e4847 100644
--- a/libstdc++-v3/testsuite/testsuite_character.h
+++ b/libstdc++-v3/testsuite/util/testsuite_character.h
diff --git a/libstdc++-v3/testsuite/testsuite_common_types.h b/libstdc++-v3/testsuite/util/testsuite_common_types.h
index e63f5e0..e63f5e0 100644
--- a/libstdc++-v3/testsuite/testsuite_common_types.h
+++ b/libstdc++-v3/testsuite/util/testsuite_common_types.h
diff --git a/libstdc++-v3/testsuite/testsuite_hooks.cc b/libstdc++-v3/testsuite/util/testsuite_hooks.cc
index 40189fbf..40189fbf 100644
--- a/libstdc++-v3/testsuite/testsuite_hooks.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_hooks.cc
diff --git a/libstdc++-v3/testsuite/testsuite_hooks.h b/libstdc++-v3/testsuite/util/testsuite_hooks.h
index b6c675b..b6c675b 100644
--- a/libstdc++-v3/testsuite/testsuite_hooks.h
+++ b/libstdc++-v3/testsuite/util/testsuite_hooks.h
diff --git a/libstdc++-v3/testsuite/testsuite_io.h b/libstdc++-v3/testsuite/util/testsuite_io.h
index e6f1c03..e6f1c03 100644
--- a/libstdc++-v3/testsuite/testsuite_io.h
+++ b/libstdc++-v3/testsuite/util/testsuite_io.h
diff --git a/libstdc++-v3/testsuite/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h
index 7119783..7119783 100644
--- a/libstdc++-v3/testsuite/testsuite_iterators.h
+++ b/libstdc++-v3/testsuite/util/testsuite_iterators.h
diff --git a/libstdc++-v3/testsuite/testsuite_performance.h b/libstdc++-v3/testsuite/util/testsuite_performance.h
index f902dd0..f902dd0 100644
--- a/libstdc++-v3/testsuite/testsuite_performance.h
+++ b/libstdc++-v3/testsuite/util/testsuite_performance.h
diff --git a/libstdc++-v3/testsuite/testsuite_shared.cc b/libstdc++-v3/testsuite/util/testsuite_shared.cc
index d651442..d651442 100644
--- a/libstdc++-v3/testsuite/testsuite_shared.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_shared.cc
diff --git a/libstdc++-v3/testsuite/testsuite_tr1.h b/libstdc++-v3/testsuite/util/testsuite_tr1.h
index 439d435..439d435 100644
--- a/libstdc++-v3/testsuite/testsuite_tr1.h
+++ b/libstdc++-v3/testsuite/util/testsuite_tr1.h
diff --git a/libstdc++-v3/testsuite/testsuite_visualization.h b/libstdc++-v3/testsuite/util/testsuite_visualization.h
index 0e27576..0e27576 100644
--- a/libstdc++-v3/testsuite/testsuite_visualization.h
+++ b/libstdc++-v3/testsuite/util/testsuite_visualization.h