Skip to content

Commit 631be2e

Browse files
author
Vasileios Karakasis
committed
Rename distribute_tests.py to distribute.py
1 parent cf56231 commit 631be2e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

reframe/frontend/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
import reframe.utility.typecheck as typ
3131

3232

33-
from reframe.frontend.distribute_tests import distribute_tests, getallnodes
34-
from reframe.frontend.printer import PrettyPrinter
35-
from reframe.frontend.loader import RegressionCheckLoader
33+
from reframe.frontend.distribute import distribute_tests, getallnodes
3634
from reframe.frontend.executors.policies import (SerialExecutionPolicy,
3735
AsynchronousExecutionPolicy)
3836
from reframe.frontend.executors import Runner, generate_testcases
37+
from reframe.frontend.loader import RegressionCheckLoader
38+
from reframe.frontend.printer import PrettyPrinter
3939

4040

4141
def format_env(envvars):
@@ -1045,7 +1045,7 @@ def _case_failed(t):
10451045
# is added to other scheduler backends, this needs to be updated,
10461046
# too.
10471047
parsed_job_options = [
1048-
for x in parsed_job_options
1048+
x for x in parsed_job_options
10491049
if (not x.startswith('-w') and not x.startswith('--nodelist'))
10501050
]
10511051
testcases = distribute_tests(testcases, node_map)
File renamed without changes.

unittests/test_distribute_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import reframe.frontend.executors as executors
99
import reframe.frontend.filters as filters
10-
from reframe.frontend.distribute_tests import distribute_tests
10+
from reframe.frontend.distribute import distribute_tests
1111
from reframe.frontend.loader import RegressionCheckLoader
1212

1313

0 commit comments

Comments
 (0)