Disable gdc execution tests without libphobos
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Sun, 25 Nov 2018 15:59:44 +0000 (15:59 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Sun, 25 Nov 2018 15:59:44 +0000 (15:59 +0000)
commit6d9434e5954ef5a450a8bd3fd3c3961545bc1d9c
treea4f51aa030bb3c975492679820efdc63e6d5607b
parent12422bc85c33040992711bd0c2afe55672206341
Disable gdc execution tests without libphobos

gcc/testsuite:
* lib/target-supports.exp (check_compile): Handle D.
(check_effective_target_d_runtime): New proc.
* lib/gdc-dg.exp (gdc-dg-test): Demote link and run tests to
compile unless d_runtime.
* gdc.dg/runnable.d: Skip unless d_runtime.
* gdc.dg/lto/lto.exp: Require d_runtime to run tests.

gcc:
* doc/sourcebuild.texi (Effective-Target Keywords, Environment
attributes): Document d_runtime.

From-SVN: r266438
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gdc.dg/lto/lto.exp
gcc/testsuite/gdc.dg/runnable.d
gcc/testsuite/lib/gdc-dg.exp
gcc/testsuite/lib/target-supports.exp