summaryrefslogtreecommitdiff
path: root/libstdc++-v3/docs
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-05 03:57:28 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-05 03:57:28 +0000
commit92c0223838d201746600a71a11a469e545928d83 (patch)
tree72613281974b47d5a51bc9ab5a62fb0d17b2b3a8 /libstdc++-v3/docs
parentcfe56eac91b9259ec7d715ac349e451d9deea755 (diff)
downloadgcc-92c0223838d201746600a71a11a469e545928d83.tar.gz
* docs/html/test.html: Explain how to run the testsuite on an
installed directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/docs')
-rw-r--r--libstdc++-v3/docs/html/test.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/libstdc++-v3/docs/html/test.html b/libstdc++-v3/docs/html/test.html
index 947a277b62c..d15dc427180 100644
--- a/libstdc++-v3/docs/html/test.html
+++ b/libstdc++-v3/docs/html/test.html
@@ -509,6 +509,23 @@ multilibed build directory with different ABI settings:
make check-target-libstdc++-v3 RUNTESTFLAGS='--target_board \"unix{-mabi=32,,-mabi=64}\"'
</pre>
+<p>
+You can run the tests with a compiler and library that have already
+been installed. Make sure that the compiler (e.g., <code>g++</code>)
+is in your <code>PATH</code>. If you are using shared libraries, then
+you must also ensure that the directory containing the shared version
+of libstdc++ is in your <code>LD_LIBRARY_PATH</code>, or equivalent.
+If your GCC source tree is at <code>/path/to/gcc</code>, then you can
+run the tests as follows:
+<pre>
+runtest --tool libstdc++ --srcdir=/path/to/gcc/libstdc++-v3/testsuite
+</pre>
+The testsuite will create a number of files in the directory in which you
+run this command,. Some of those files might use the same name as
+files created by other testsuites (like the ones for GCC and G++), so
+you should not try to run all the testsuites in parallel from the same
+directory.
+</p>
<p> In addition, there are some testing options that are mostly of
interest to library maintainers and system integrators. As such,