Commit 3a58a614 by Benjamin Kosnik Committed by Benjamin Kosnik

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
parent c5f8391c
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> 2006-06-22 Jonathan Lennox <lennox@cs.columbia.edu>
Paolo Carlini <pcarlini@suse.de> Paolo Carlini <pcarlini@suse.de>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<h2>Contents</h2> <h2>Contents</h2>
<ul> <ul>
<li><a href="#org">Testsuite organization and naming conventions</a></li> <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="#new">How to write a new test case</a></li>
<li><a href="#check">Options for running the tests</a></li> <li><a href="#check">Options for running the tests</a></li>
<li><a href="#debug">Running debug-mode tests</a></li> <li><a href="#debug">Running debug-mode tests</a></li>
...@@ -93,6 +93,7 @@ config Files for the dejagnu test harness. ...@@ -93,6 +93,7 @@ config Files for the dejagnu test harness.
lib Files for the dejagnu test harness. lib Files for the dejagnu test harness.
libstdc++* Files for the dejagnu test harness. libstdc++* Files for the dejagnu test harness.
data Sample text files for testing input and output. data Sample text files for testing input and output.
util Files for libtestc++, utilities and testing routines.
</pre> </pre>
<p> <p>
...@@ -207,14 +208,14 @@ cat 27_io/objects/char/3_xin.in | a.out ...@@ -207,14 +208,14 @@ cat 27_io/objects/char/3_xin.in | a.out
</ul> </ul>
<hr /> <hr />
<h2><a name="util">Utilities: abi_check and libv3test</a></h2> <h2><a name="util">Utilities: abi_check and libtestc++</a></h2>
<p> <p>
The testsuite directory also contains some files that implement The testsuite directory also contains some files that implement
functionality that is intended to make writing test cases easier, functionality that is intended to make writing test cases easier,
or to avoid duplication, or to provide error checking in a way that or to avoid duplication, or to provide error checking in a way that
is consistent across platforms and test harnesses. A stand-alone is consistent across platforms and test harnesses. A stand-alone
executable, called <em>abi_check</em>, and a static library called 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. installed, and only used during testing.
</p> </p>
...@@ -329,9 +330,9 @@ cat 27_io/objects/char/3_xin.in | a.out ...@@ -329,9 +330,9 @@ cat 27_io/objects/char/3_xin.in | a.out
<p> <p>
A bunch of utility functions and classes have already been A bunch of utility functions and classes have already been
abstracted out into the testsuite utility library, <code> abstracted out into the testsuite utility library, <code>
libv3test</code>. To use this functionality, just include the libtestc++</code>. To use this functionality, just include the
appropriate header file: the library will automatically be linked appropriate header file: the library or specific object files will
in as part of the testsuite run. automatically be linked in as part of the testsuite run.
</p> </p>
<p> <p>
......
...@@ -172,9 +172,9 @@ proc libstdc++_init { testfile } { ...@@ -172,9 +172,9 @@ proc libstdc++_init { testfile } {
# Do a bunch of handstands and backflips for cross compiling and # Do a bunch of handstands and backflips for cross compiling and
# finding simulators... # finding simulators...
if [is_remote host] { 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 == "" } { 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" return "untested"
} }
set cxx [transform "g++"] set cxx [transform "g++"]
...@@ -190,7 +190,7 @@ proc libstdc++_init { testfile } { ...@@ -190,7 +190,7 @@ proc libstdc++_init { testfile } {
set includes [exec sh $flags_file --build-includes] set includes [exec sh $flags_file --build-includes]
} else { } else {
set cxx [transform "g++"] set cxx [transform "g++"]
set includes "-I${srcdir}" set includes "-I${srcdir}/util"
set cxxldflags "" set cxxldflags ""
set cxxflags "-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0" set cxxflags "-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment