Platform specific DMD tests

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 12:19:16 PDT 2014


On 2014-09-10 17:09, Daniel Murphy wrote:

> Are you planning to do that with shell scripts or by adding a feature to
> d_do_test?

Currently this is done using REQUIRED_ARGS and $(), something like this:

// REQUIRED_ARGS: objc.o $(gcc -m$MODEL objc.m -c -o objc.o)

> You could fairly easily add EXTRA_OBJC_FILES to d_do_test
> and then disable building on non-osx platforms when it's present, even
> if it has zero files.

Do you mean a new special comment and which I would add to all 
Objective-C related tests?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list