d: Only test with default permutation flags for runnable tests.
authorIain Buclaw <ibuclaw@gdcproject.org>
Mon, 31 Aug 2020 17:27:15 +0000 (19:27 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Wed, 2 Sep 2020 20:59:34 +0000 (22:59 +0200)
commitc285126cc0af8891a29e136be4b10ed27caef470
tree11720164ff0a2a79f2d2c8425c421da822810e04
parent72ddef620b2dec03bb81d5784d15f00dc08c9a3e
d: Only test with default permutation flags for runnable tests.

Unless the test explicitly requests, all compilable tests as well as
fail_compilation tests will be ran without any extra flags.

The C++ tests now are checked against shared D runtime library.

gcc/testsuite/ChangeLog:

* lib/gdc-utils.exp (gdc-convert-test): Handle LINK directive.
Set PERMUTE_ARGS as DEFAULT_DFLAGS only for runnable tests.
(gdc-do-test): Set default action of compilable tests to compile.
Test SHARED_OPTION on runnable_cxx tests.
gcc/testsuite/lib/gdc-utils.exp