diff options
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ptest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py index 0972a583ee..7d8849308d 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py | |||
@@ -99,7 +99,7 @@ class PtestRunnerTest(OERuntimeTestCase): | |||
99 | resmap = {'pass': 'PASSED', 'skip': 'SKIPPED', 'fail': 'FAILED'} | 99 | resmap = {'pass': 'PASSED', 'skip': 'SKIPPED', 'fail': 'FAILED'} |
100 | for section in parse_result.result_dict: | 100 | for section in parse_result.result_dict: |
101 | for test, result in parse_result.result_dict[section]: | 101 | for test, result in parse_result.result_dict[section]: |
102 | testname = "ptestresult." + section + "." + "_".join(test.translate(trans).split()) | 102 | testname = "ptestresult." + (section or "No-section") + "." + "_".join(test.translate(trans).split()) |
103 | extras[testname] = {'status': resmap[result]} | 103 | extras[testname] = {'status': resmap[result]} |
104 | 104 | ||
105 | failed_tests = {} | 105 | failed_tests = {} |