PATCH: Document running V3 tests on installed compiler

Mark Mitchell
Wed May 4 21:14:00 GMT 2005

This patch documents how to run the V3 tests on an installed compiler.

OK to apply?

Mark Mitchell
CodeSourcery, LLC

2005-05-04  Mark Mitchell  <>

	* docs/html/test.html: Explain how to run the testsuite on an
	installed directory. 

Index: test.html
RCS file: /cvs/gcc/gcc/libstdc++-v3/docs/html/test.html,v
retrieving revision 1.10
diff -c -5 -p -r1.10 test.html
*** test.html	7 Apr 2005 04:16:07 -0000	1.10
--- test.html	4 May 2005 21:03:40 -0000
*************** multilibed build directory with differen
*** 507,516 ****
--- 507,528 ----
  make check-target-libstdc++-v3 RUNTESTFLAGS='--target_board \"unix{-mabi=32,,-mabi=64}\"'
+ <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>
+ </p>
     <p> In addition, there are some testing options that are mostly of
     interest to library maintainers and system integrators. As such,
     these tests may not work on all cpu and host combinations, and may need to
     be executed in the <em>libbuilddir/testsuite</em> directory.  These options

More information about the Libstdc++ mailing list