Commit 6594f136 authored by kreczko's avatar kreczko
Browse files

cmake/ iteritems --> six.iteritems

parent f66b3ec9
......@@ -11,6 +11,7 @@ import platform
import xml.etree.ElementTree as ET
import collections
import re
import six
def qmt_filename_to_name(path):
......@@ -111,11 +112,11 @@ def analyze_suites(pkg, rootdir):
# transpose the dictionary of lists
test_labels = collections.defaultdict(set)
for label, tests in labels.items():
for label, tests in six.iteritems(labels):
for test in tests:
for test, labels in test_labels.iteritems():
for test, labels in six.iteritems(test_labels):
print('set_property(TEST {0} APPEND PROPERTY LABELS {1})'.format(
test, ' '.join(labels)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment