File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 26
26
PIP_DISABLE_PIP_VERSION_CHECK : 1
27
27
PYTHONUNBUFFERED : 1
28
28
29
+ ATEST_PROCESSES : 4
29
30
ATEST_RETRIES : 3
30
31
JLPM_CMD : jlpm --ignore-optional --prefer-offline --frozen-lockfile
31
32
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def atest(attempt, extra_args):
65
65
extra_args += ["--skiponfailure" , "AND" .join (non_critical )]
66
66
67
67
if attempt != 1 :
68
- previous = OUT / f" { get_stem (attempt - 1 , extra_args )} .robot .xml"
68
+ previous = OUT / get_stem (attempt - 1 , extra_args ) / "output .xml"
69
69
if previous .exists ():
70
70
extra_args += ["--rerunfailed" , str (previous )]
71
71
@@ -83,6 +83,9 @@ def atest(attempt, extra_args):
83
83
# don't ever test our examples
84
84
"--exclude" ,
85
85
"atest:example" ,
86
+ # random ensures there's not inter-test coupling
87
+ "--randomize" ,
88
+ "all" ,
86
89
* (extra_args or []),
87
90
ATEST ,
88
91
]
@@ -102,20 +105,14 @@ def atest(attempt, extra_args):
102
105
103
106
try :
104
107
if "--dryrun" in extra_args or ATEST_PROCESSES == 1 :
105
- robot .run_cli (
106
- [
107
- # random ensures there's not inter-test coupling
108
- "--randomize" ,
109
- "all" ,
110
- * str_args ,
111
- ]
112
- )
108
+ robot .run_cli (str_args )
113
109
else :
114
110
pabot .main (
115
111
[
116
112
* ("--processes" , f"{ ATEST_PROCESSES } " ),
117
113
* ("--artifacts" , "png,log" ),
118
114
"--artifactsinsubfolders" ,
115
+ "--testlevelsplit" ,
119
116
* str_args ,
120
117
]
121
118
)
You can’t perform that action at this time.
0 commit comments