External lib unittests: they're killin me!
1100110
0b1100110 at gmail.com
Wed May 22 18:58:38 PDT 2013
On 05/22/2013 01:26 PM, Jonathan M Davis 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.*"
>
> 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
Just get zsh, apparently it doesn't glob unless it actually matches
something.
So unless there's a file named -unittest="package.name.version" it's all
good.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130522/0c224cf1/attachment.pgp>
More information about the Digitalmars-d
mailing list