This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Objective-C++ testsuite infrastructure


Mike Stump wrote:

+	setenv  LD_LIBRARY_PATH     $ld_library_path
+	setenv  SHLIB_PATH          $ld_library_path
+	setenv  LD_LIBRARYN32_PATH  $ld_library_path
+	setenv  LD_LIBRARY64_PATH   $ld_library_path
+	setenv  LD_LIBRARY_PATH_32  $ld_library_path
+	setenv  LD_LIBRARY_PATH_64  $ld_library_path
+	setenv  DYLD_LIBRARY_PATH   $ld_library_path

This is now considered wrong; there is shared infrastructure for this that should be used by all of the testsuites. Look in gcc.dg/lib at how other testsuites are handling this.


It would also be nice if you would verify that this infrastructure works correctly with an installed compiler, as we've been working hard to make that work. You should be able to make a site.exp, and then do:

runtest --tool <something> --srcdir=/path/to/gcc/testsuite

and have it do the right thing. I can help you get that working for C or C++, if you need a worked example.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]