aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/tests/info/02_info_compiledata_pos.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xm-test/tests/info/02_info_compiledata_pos.py')
-rw-r--r--tools/xm-test/tests/info/02_info_compiledata_pos.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/xm-test/tests/info/02_info_compiledata_pos.py b/tools/xm-test/tests/info/02_info_compiledata_pos.py
index 189fce17cb..9430ecf62f 100644
--- a/tools/xm-test/tests/info/02_info_compiledata_pos.py
+++ b/tools/xm-test/tests/info/02_info_compiledata_pos.py
@@ -18,9 +18,7 @@ map = {}
for line in lines:
pieces = line.split(" : ", 1)
- if len(pieces) < 2:
- FAIL("Found invalid line: [%s]" % line)
- else:
+ if len(pieces) > 1:
map[pieces[0]] = pieces[1]
for field in ["cores_per_socket", "threads_per_core", "cpu_mhz",