raise NotImplementedError("Unsupported Operating System")\r
\r
for test in testList:\r
- # Configure output name.\r
+ # Configure output name if test uses cmocka.\r
shell_env.set_shell_var(\r
- 'CMOCKA_XML_FILE', test + ".%g." + arch + ".result.xml")\r
+ 'CMOCKA_XML_FILE', test + ".CMOCKA.%g." + arch + ".result.xml")\r
+ # Configure output name if test uses gtest.\r
+ shell_env.set_shell_var(\r
+ 'GTEST_OUTPUT', "xml:" + test + ".GTEST." + arch + ".result.xml")\r
\r
# Run the test.\r
ret = RunCmd('"' + test + '"', "", workingdir=cp)\r