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

Mads Kiilerich mads at kiilerich.com
Fri Apr 27 19:05:08 CDT 2012


# 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
 
 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=


More information about the Mercurial-devel mailing list