aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2006-06-24 00:13:08 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2006-06-24 00:13:08 +0000
commit3a58a61437fb09d789a81fa9491fabaaa731dbd3 (patch)
tree75f9ae07e3e63d274a8c880743a7bdcf37b33ae5 /libstdc++-v3
parentc5f8391c77ffbce87b0a3e0ad436ab36a5913dd9 (diff)
downloadgcc-3a58a61437fb09d789a81fa9491fabaaa731dbd3.zip
gcc-3a58a61437fb09d789a81fa9491fabaaa731dbd3.tar.gz
gcc-3a58a61437fb09d789a81fa9491fabaaa731dbd3.tar.bz2
re PR libstdc++/27984 (installed libstdc++ testing broken)
2006-06-23 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/27984 * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust testing includes. * docs/html/test.html: Adjust for testsuite changes. From-SVN: r114955
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/docs/html/test.html13
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp6
3 files changed, 17 insertions, 9 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index c952fa7..a16f904 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2006-06-23 Benjamin Kosnik <bkoz@redhat.com>
+
+ PR libstdc++/27984
+ * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust
+ testing includes.
+ * docs/html/test.html: Adjust for testsuite changes.
+
2006-06-22 Jonathan Lennox <lennox@cs.columbia.edu>
Paolo Carlini <pcarlini@suse.de>
diff --git a/libstdc++-v3/docs/html/test.html b/libstdc++-v3/docs/html/test.html
index 41e0529..0465503 100644
--- a/libstdc++-v3/docs/html/test.html
+++ b/libstdc++-v3/docs/html/test.html
@@ -31,7 +31,7 @@
<h2>Contents</h2>
<ul>
<li><a href="#org">Testsuite organization and naming conventions</a></li>
- <li><a href="#util">Utilities: abicheck and libv3test</a></li>
+ <li><a href="#util">Utilities: abicheck and libtestc++</a></li>
<li><a href="#new">How to write a new test case</a></li>
<li><a href="#check">Options for running the tests</a></li>
<li><a href="#debug">Running debug-mode tests</a></li>
@@ -93,6 +93,7 @@ config Files for the dejagnu test harness.
lib Files for the dejagnu test harness.
libstdc++* Files for the dejagnu test harness.
data Sample text files for testing input and output.
+util Files for libtestc++, utilities and testing routines.
</pre>
<p>
@@ -207,14 +208,14 @@ cat 27_io/objects/char/3_xin.in | a.out
</ul>
<hr />
-<h2><a name="util">Utilities: abi_check and libv3test</a></h2>
+<h2><a name="util">Utilities: abi_check and libtestc++</a></h2>
<p>
The testsuite directory also contains some files that implement
functionality that is intended to make writing test cases easier,
or to avoid duplication, or to provide error checking in a way that
is consistent across platforms and test harnesses. A stand-alone
executable, called <em>abi_check</em>, and a static library called
- <em>libv3test</em> are constructed. Both of these items are not
+ <em>libtestc++</em> are constructed. Both of these items are not
installed, and only used during testing.
</p>
@@ -329,9 +330,9 @@ cat 27_io/objects/char/3_xin.in | a.out
<p>
A bunch of utility functions and classes have already been
abstracted out into the testsuite utility library, <code>
- libv3test</code>. To use this functionality, just include the
- appropriate header file: the library will automatically be linked
- in as part of the testsuite run.
+ libtestc++</code>. To use this functionality, just include the
+ appropriate header file: the library or specific object files will
+ automatically be linked in as part of the testsuite run.
</p>
<p>
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index d7da29f..d226482 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -172,9 +172,9 @@ proc libstdc++_init { testfile } {
# Do a bunch of handstands and backflips for cross compiling and
# finding simulators...
if [is_remote host] {
- set header [remote_download host ${blddir}/testsuite/testsuite_hooks.h]
+ set header [remote_download host ${blddir}/testsuite/util/testsuite_hooks.h]
if { $header == "" } {
- verbose -log "Unable to download ${blddir}/testsuite/testsuite_hooks.h to host."
+ verbose -log "Unable to download ${blddir}/testsuite/util/testsuite_hooks.h to host."
return "untested"
}
set cxx [transform "g++"]
@@ -190,7 +190,7 @@ proc libstdc++_init { testfile } {
set includes [exec sh $flags_file --build-includes]
} else {
set cxx [transform "g++"]
- set includes "-I${srcdir}"
+ set includes "-I${srcdir}/util"
set cxxldflags ""
set cxxflags "-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0"
}