This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [ld, testsuite] Restrict dl1*main and dl6*main tests on platforms which have libdl support
- From: Alan Modra <amodra at gmail dot com>
- To: Jiong Wang <jiong dot wang at foss dot arm dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 2 Feb 2017 17:43:44 +1030
- Subject: Re: [ld, testsuite] Restrict dl1*main and dl6*main tests on platforms which have libdl support
- Authentication-results: sourceware.org; auth=none
- References: <7a7efa33-82bd-4865-c5c2-787eaed089b0@foss.arm.com>
On Wed, Feb 01, 2017 at 05:17:07PM +0000, Jiong Wang wrote:
> * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
> * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
> dlopen support into "dlopen_run_tests". These tests include dl1*main
> and dl6*main.
> (dlopen_run_tests): New and only run it when check_libdl_available
> returns true.
OK, except
> @@ -486,6 +447,54 @@ set run_tests [list \
> # NetBSD ELF systems do not currently support the .*_array sections.
> run_ld_link_exec_tests $run_tests "*-*-netbsdelf*"
[snip]
> +# Only run them when libdl is available.
> +if [check_libdl_available] {
> + run_ld_link_exec_tests $dlopen_run_tests
You missed the netbsdelf xfail here.
--
Alan Modra
Australia Development Lab, IBM