aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_runner.py
diff options
context:
space:
mode:
authorJimmy Song <jaejoon@gmail.com>2017-04-17 15:20:35 -0700
committerJimmy Song <jaejoon@gmail.com>2017-04-17 15:20:35 -0700
commit637706dc9ea9244954252a4fd7d8786bf93e3b67 (patch)
treefc7793630c74b8a0e167e22d032e562137c8e551 /test/functional/test_runner.py
parent2584925077f9658b3953ad931b74779006e59807 (diff)
Tests: Put Extended tests first when they're included
* Added documentation in tests/README.md about enabling wallet, utils and daemon. * Change ordering to make the long-running EXTENDED_TESTS go first.
Diffstat (limited to 'test/functional/test_runner.py')
-rwxr-xr-xtest/functional/test_runner.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
index bb12328ec1..32ef199600 100755
--- a/test/functional/test_runner.py
+++ b/test/functional/test_runner.py
@@ -140,7 +140,8 @@ EXTENDED_SCRIPTS = [
'replace-by-fee.py',
]
-ALL_SCRIPTS = BASE_SCRIPTS + ZMQ_SCRIPTS + EXTENDED_SCRIPTS
+# Place EXTENDED_SCRIPTS first since it has the 3 longest running tests
+ALL_SCRIPTS = EXTENDED_SCRIPTS + BASE_SCRIPTS + ZMQ_SCRIPTS
NON_SCRIPTS = [
# These are python files that live in the functional tests directory, but are not test scripts.
@@ -217,10 +218,9 @@ def main():
if enable_zmq:
test_list += ZMQ_SCRIPTS
if args.extended:
- test_list += EXTENDED_SCRIPTS
- # TODO: BASE_SCRIPTS and EXTENDED_SCRIPTS are sorted by runtime
- # (for parallel running efficiency). This combined list will is no
- # longer sorted.
+ # place the EXTENDED_SCRIPTS first since the three longest ones
+ # are there and the list is shorter
+ test_list = EXTENDED_SCRIPTS + test_list
# Remove the test cases that the user has explicitly asked to exclude.
if args.exclude: