Skip to content

Commit 7b256df

Browse files
committed
Uploading skipped [NOT_SUPPORTED] tests
1 parent 01648b2 commit 7b256df

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

workspace_tools/upload_results.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,13 @@ def add_report(project_run_data, report_file, is_build, build_id, host_os):
234234

235235
project_run_data['names_set'].add(projectRun['project'])
236236

237-
skipped = test_case.findall('skipped')
237+
should_skip = False
238+
skips = test_case.findall('skipped')
238239

239-
if not skipped:
240+
if skips:
241+
should_skip = skips[0].attrib['message'] == 'SKIP'
242+
243+
if not should_skip:
240244
system_outs = test_case.findall('system-out')
241245

242246
output = ""
@@ -259,6 +263,9 @@ def add_report(project_run_data, report_file, is_build, build_id, host_os):
259263
elif failures:
260264
projectRunPass = False
261265
result = failures[0].attrib['message']
266+
elif skips:
267+
projectRunPass = True
268+
result = skips[0].attrib['message']
262269
else:
263270
projectRunPass = True
264271
result = 'OK'

0 commit comments

Comments
 (0)