libphobos: Skip curl tests if libcurl is not installed on the target.
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 24 Apr 2019 14:17:34 +0000 (14:17 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 24 Apr 2019 14:17:34 +0000 (14:17 +0000)
commit540bc8a8b1ff0aeb19ba6ac6304dd2e2075412c7
tree269dec9cdc861b0cd772c52879cadfc308231f8e
parent9fe1940081ab64552a1e9134efda54ecef94bb50
libphobos: Skip curl tests if libcurl is not installed on the target.

libphobos/ChangeLog:

2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>

PR d/88654
* testsuite/lib/libphobos.exp (libphobos-dg-test): Check
libphobos_skipped_test_p before running test.
(libphobos-dg-prune): New proc.
(libphobos_init): Set libphobos_skip_tests.
(libphobos_skipped_test_p): New proc.
(check_effective_target_libcurl_available): New proc.
* testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
not found.
* testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.

From-SVN: r270545
libphobos/ChangeLog
libphobos/testsuite/lib/libphobos.exp
libphobos/testsuite/libphobos.phobos/phobos.exp
libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp