[PATCH 3 of 5] tests: skip new tests with requirements not available on windows

Idan Kamara idankk86 at gmail.com
Sat Apr 28 03:16:44 CDT 2012


On Sat, Apr 28, 2012 at 3:05 AM, Mads Kiilerich <mads at kiilerich.com> wrote:

> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1335568976 -7200
> # Branch stable
> # Node ID dccf7f23e12209ce5fac25e46890d2d4bfe795f4
> # Parent  c2257f704c8bcf8ff3b1d8c92bbc9a2e7f651afe
> tests: skip new tests with requirements not available on windows
>
> diff --git a/tests/test-commit-amend.t b/tests/test-commit-amend.t
> --- a/tests/test-commit-amend.t
> +++ b/tests/test-commit-amend.t
> @@ -1,3 +1,5 @@
> +  $ "$TESTDIR/hghave" execbit || exit 80
> +
>   $ hg init
>

I don't remember testing anything execbit related in
this test..

Ah, there's a script used as an editor that is chmod +x,
is there no way around it? Seems like a waste to throw
away a whole test because of it.


>
>  Setup:
> diff --git a/tests/test-phases-exchange.t b/tests/test-phases-exchange.t
> --- a/tests/test-phases-exchange.t
> +++ b/tests/test-phases-exchange.t
> @@ -1,3 +1,5 @@
> +  $ "$TESTDIR/hghave" serve || exit 80
> +
>   $ cat >> $HGRCPATH <<EOF
>   > [extensions]
>   > graphlog=
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120428/4f91535b/attachment.html>


More information about the Mercurial-devel mailing list