Index: test/heap-unittests/testcfg.py |
diff --git a/test/heap-unittests/testcfg.py b/test/heap-unittests/testcfg.py |
index 7c80a75ea2f82a23e62813b143104d96aecd4911..ffa4b59de5bf792decbdb2fd5178486b26e28614 100644 |
--- a/test/heap-unittests/testcfg.py |
+++ b/test/heap-unittests/testcfg.py |
@@ -28,10 +28,11 @@ class HeapUnitTestsSuite(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() |