External lib unittests: they're killin me!

Jonathan M Davis jmdavisProg at gmx.com
Wed May 22 11:26:53 PDT 2013


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.*"

Problem solved. _Not_ having the shell expand globs would be horrific. Every 
program would then have to handle that internally, and the results would be 
incredibly inconsistent.

- Jonathan M Davis


More information about the Digitalmars-d mailing list