From patchwork Wed Nov 28 03:46:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1,of,2] tests: also skip remotefilelog *.py tests on Windows From: Matt Harbison X-Patchwork-Id: 36821 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Tue, 27 Nov 2018 22:46:39 -0500 # HG changeset patch # User Matt Harbison # 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__)