This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [ld, testsuite] Restrict dl1*main and dl6*main tests on platforms which have libdl support


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


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