X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2Fconvert_case_list_to_xml.py;h=fd135fd4249decab1ea5e7e6fae8242ef3b5a937;hb=e3702832a8fbf6f29e903661ef7b8b83fd91398a;hp=456e1a006285df575c3f14fe6c9386e730fb6446;hpb=27fd616c26df2abcc3e28a559076519f8615f011;p=platform%2Fupstream%2FVK-GL-CTS.git diff --git a/scripts/convert_case_list_to_xml.py b/scripts/convert_case_list_to_xml.py index 456e1a0..fd135fd 100644 --- a/scripts/convert_case_list_to_xml.py +++ b/scripts/convert_case_list_to_xml.py @@ -52,7 +52,7 @@ def createAncestors(casePath): return parentCase def exportCase (doc, parent, testCase): - #print testCase.name, testCase.caseType + #print(testCase.name, testCase.caseType) element = doc.createElement("TestCase") element.setAttribute("Name", testCase.casePath.rsplit(".", 2)[-1]) element.setAttribute("Description", testCase.description) @@ -94,5 +94,5 @@ for testCase in rootCase.children: xml = doc.toprettyxml(indent=" ") open(packageName + "-cases.xml", "wt").write(xml) -print "%d cases converted." % numMatches +print("%d cases converted." % numMatches)