Skip to content
Snippets Groups Projects
Commit 8b90367c authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

tests: make test-verify-repo-operations.py not run by default

test-verify-repo-operations.py currently starts way too late and
extends the running time with -j50 on my machine from around 3:48 min
to 6:30 min. We could of course make it run earlier, but the test case
seems unlikely to find bugs not covered by other tests, so let's mark
it "slow" instead. I think this type of test is better suited to
running separately in a long-running job.
parent d09be0b8
No related branches found
No related tags found
No related merge requests found
......@@ -7,5 +7,6 @@
unexpected errors and to compare different versions of it."""
import os
import subprocess
import sys
......@@ -10,5 +11,10 @@
import sys
# Only run if slow tests are allowed
if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'],
'slow']):
sys.exit(80)
# These tests require Hypothesis and pytz to be installed.
# Running 'pip install hypothesis pytz' will achieve that.
# Note: This won't work if you're running Python < 2.7.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment