Index: test/runtime-unittests/testcfg.py |
diff --git a/test/runtime-unittests/testcfg.py b/test/runtime-unittests/testcfg.py |
index f89fadcf5feb66d418f0fbe502586bfb7e548823..0b4af6d10be19c2466eb2a510881f81b545d9997 100644 |
--- a/test/runtime-unittests/testcfg.py |
+++ b/test/runtime-unittests/testcfg.py |
@@ -28,10 +28,11 @@ class RuntimeUnitTestsSuite(testsuite.TestSuite): |
return [] |
tests = [] |
test_case = '' |
- for test_desc in output.stdout.strip().split(): |
+ for line in output.stdout.splitlines(): |
+ test_desc = line.strip().split()[0] |
if test_desc.endswith('.'): |
test_case = test_desc |
- else: |
+ elif test_case and test_desc: |
test = testcase.TestCase(self, test_case + test_desc, dependency=None) |
tests.append(test) |
tests.sort() |