Index: test/base-unittests/testcfg.py |
diff --git a/test/base-unittests/testcfg.py b/test/base-unittests/testcfg.py |
index 0ed46dcdb117b5060fae8e8502cf6b18de525002..b6ae5b20e611d57daa26f5d40b3d9383493a4a14 100644 |
--- a/test/base-unittests/testcfg.py |
+++ b/test/base-unittests/testcfg.py |
@@ -28,10 +28,11 @@ class BaseUnitTestsSuite(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() |