[ld, testsuite] Restrict dl1*main and dl6*main tests on platforms which have libdl...
authorJiong Wang <jiong.wang@arm.com>
Wed, 1 Feb 2017 16:44:40 +0000 (16:44 +0000)
committerJiong Wang <jiong.wang@arm.com>
Thu, 2 Feb 2017 09:57:26 +0000 (09:57 +0000)
commitfd121c5c45bd2652a78c62812737874e36259e2a
tree6f6852d734449dcd8958956f44b00940c733a687
parent7a8eb317c5bce0f1ff290a9343777db74adec663
[ld, testsuite] Restrict dl1*main and dl6*main tests on platforms which have libdl support

ld/
* 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.  XFAIL on *-*-netbsdelf*.
ld/ChangeLog
ld/testsuite/ld-elf/shared.exp
ld/testsuite/lib/ld-lib.exp
This page took 0.103778 seconds and 4 git commands to generate.