[PATCH 1 of 2] tests: also skip remotefilelog *.py tests on Windows
Matt Harbison
mharbison72 at gmail.com
Wed Nov 28 03:46:39 UTC 2018
# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1543375392 18000
# Tue Nov 27 22:23:12 2018 -0500
# Node ID c743bb1c19513a61925ce4663d33323aea7016cc
# Parent df8ed31a8ad8ae116e31550d9128055ece22e258
tests: also skip remotefilelog *.py tests on Windows
This should have gone with 0800d9e6e216.
diff --git a/tests/test-remotefilelog-datapack.py b/tests/test-remotefilelog-datapack.py
--- a/tests/test-remotefilelog-datapack.py
+++ b/tests/test-remotefilelog-datapack.py
@@ -18,6 +18,7 @@ import silenttestrunner
sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')]
from mercurial.node import nullid
from mercurial import (
+ pycompat,
ui as uimod,
)
from hgext.remotefilelog import (
@@ -372,4 +373,6 @@ class datapacktests(datapacktestsbase, u
# - GC two packs into one
if __name__ == '__main__':
+ if pycompat.iswindows:
+ sys.exit(80) # Skip on Windows
silenttestrunner.main(__name__)
diff --git a/tests/test-remotefilelog-histpack.py b/tests/test-remotefilelog-histpack.py
--- a/tests/test-remotefilelog-histpack.py
+++ b/tests/test-remotefilelog-histpack.py
@@ -273,4 +273,6 @@ class histpacktests(unittest.TestCase):
# - repack two packs into one
if __name__ == '__main__':
+ if pycompat.iswindows:
+ sys.exit(80) # Skip on Windows
silenttestrunner.main(__name__)
More information about the Mercurial-devel
mailing list