Platform specific DMD tests

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 06:19:40 PDT 2014


"Andrej Mitrovic via Digitalmars-d"  wrote in message 
news:mailman.692.1410352187.5783.digitalmars-d at puremagic.com...

> When I had to test windows-specific stuff I put the actual test files
> in /extra-files/. Here's an example:
>
> https://github.com/D-Programming-
> Language/dmd/blob/master/test/compilable/test9680.sh
>
> So you could simply exit if ${OS} does not equal OSX (not sure what
> the actual string is), otherwise run the test-suite.
>
> But maybe there's a simpler way. Kenji/yebblies/others?

I'd say just disable them in the makefile for all other platforms, if they 
don't need a custom script. 



More information about the Digitalmars-d mailing list