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

> Revision: 89948
>          http://trac.macports.org/changeset/89948
> Author:   pixi...@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


_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to