diff --git a/workspace_tools/upload_results.py b/workspace_tools/upload_results.py index afe7c15596..d574afd253 100644 --- a/workspace_tools/upload_results.py +++ b/workspace_tools/upload_results.py @@ -99,7 +99,10 @@ def add_test_runs(args): system_outs = test_case.findall('system-out') - testRun['output'] = system_outs[0].text + if system_outs: + testRun['output'] = system_outs[0].text + else: + testRun['output'] = "" errors = test_case.findall('error')