This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH 3/3] Isolate test case execution from externalenvironment


ping?

On Wed, 25 Apr 2012 20:47:19 +0530, Siddhesh wrote:

> Hi,
> 
> This is the second take of the patch I had posted earlier
> (http://sourceware.org/ml/libc-alpha/2012-04/msg00229.html). The aim
> of this patch is to isolate the test case execution to ensure that the
> test cases only pick libraries from within the test environment unless
> absolutely necessary. Any external libraries needed are evaluated and
> linked into a single directory within the build directory (tests/lib).
> Tested on x86_64.
> 
> This patch needs the patch I had submitted earlier because it uses
> LIBGCC_S_SO in the right header:
> 
> http://sourceware.org/ml/libc-alpha/2012-04/msg00911.html
> 
> Regards,
> Siddhesh
> 
> ChangeLog:
> 
> 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
> 
> 	* Makeconfig (run-program-prefix): Use --inhibit-cache.
> 	(test-lib-paths): Get library search path used by compiler.
> 	(list-deps-cmd): Define.
> 	(rtld-verify-binary): Define.
> 	* Makerules (extra-modules-build): Call $(symlink-deps) for
> 	built modules. Remove the tests/lib directory on cleanup.
> 	* Rules (tests-init): New target. Perform tasks before
> 	executing test cases.
> 	(libgcc-test): Program to print the value of LIBGCC_S_SO.
> 	(tests-init, libgcc-done): New targets. Run libgcc-test and
> 	look for it in test-lib-paths. Use rtld-verify-binary.
> 	(tests): Depend on tests-init.
> 	(symlink-deps): Define. Use list-deps-cmd.
> 	($(objpfx)%.out): Use symlink-deps.
> 	* posix/tst-exec.c (do_test): Adjust for --inhibit-cache.
> 	* posix/tst-spawn.c (do_test): Adjust for --inhibit-cache.


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