[dmd-internals] Test with the -lib flag
Михаил Страшун via dmd-internals
dmd-internals at puremagic.com
Sun Jun 12 04:52:42 PDT 2016
On 06/11/2016 02:46 PM, Jacob Carlborg via dmd-internals wrote:
> I need to create a test for the DMD test suite that consists of two files, one which need to be compiled with the -lib flag and one without, which links with the library. There’s the EXTRA_SOURCES test variable but as far as I can see it’s not possible to specify any flags for the extra sources.
> What’s the best way to solve this?
AFAIR test runner doesn't support such functionality, it is only capable
of compiling bunch of files at once (with configurable flags). Thus you
will need to extend the runner itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the dmd-internals