Index: test/compiler-unittests/testcfg.py |
diff --git a/test/compiler-unittests/testcfg.py b/test/compiler-unittests/testcfg.py |
index 4eec956f7e3cca07d0cbccb4724e8884e62e355f..b067aee861b60d592a6477db3009571a692f6378 100644 |
--- a/test/compiler-unittests/testcfg.py |
+++ b/test/compiler-unittests/testcfg.py |
@@ -28,10 +28,11 @@ class CompilerUnitTestsSuite(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() |