External lib unittests: they're killin me!

Steven Schveighoffer schveiguy at yahoo.com
Wed May 22 17:26:25 PDT 2013


On Wed, 22 May 2013 14:26:53 -0400, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> On Tuesday, May 21, 2013 14:34:37 Nick Sabalausky wrote:
>> On Tue, 21 May 2013 19:02:19 +0200
>>
>> Jacob Carlborg <doob at me.com> wrote:
>> > On 2013-05-21 03:52, Nick Sabalausky wrote:
>> > > Y'know what we need? This compiler flag:
>> > > -unittest=pagkage.name.*
>> >
>> > That exact syntax will probably cause some problems with the shell.
>>
>> Ugh, yea, that's right. I love the unix shell, but I'm convinced that
>> having the shell expand globs was a colossal mistake.
>
> Quotes are your friend.
>
> -unittest="package.name.*"

ahem...

-unittest='package.name.*'

:)

And TBH, you would have to have a file named literally  
"-unittest=package.name.xyz" for that to actually be expanded by the  
shell.  I don't think it really would be an issue.

-Steve


More information about the Digitalmars-d mailing list