[89948] trunk/dports/databases

Ryan Schmidt ryandesign at macports.org
Thu Feb 16 21:06:30 PST 2012


On Feb 16, 2012, at 11:37, pixilla at macports.org wrote:

> Revision: 89948
>          http://trac.macports.org/changeset/89948
> Author:   pixilla at macports.org
> Date:     2012-02-16 09:37:23 -0800 (Thu, 16 Feb 2012)
> Log Message:
> -----------
> databases/libzdb:
> - New port.
> 
> Added Paths:
> -----------
>    trunk/dports/databases/libzdb/
>    trunk/dports/databases/libzdb/Portfile


> +variant test description {Build tests} {
> +
> +    test.run                yes
> +    test.target             verify
> +}

There's no need to put these directives in a variant. Just put them directly in the portfile:

test.run                yes
test.target             verify

"test.run yes" does not mean that tests get automatically run, it just means they are available to run; the user still has to request them by running:

sudo port test libzdb




More information about the macports-dev mailing list