new file mode 100755
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+
+cat <<EOF > $SHIPPABLE_BUILD_DIR/shippable/testresults/test_results.xml
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="xml" indent="yes" />
+<xsl:template match="/">
+ <testsuites>
+ <xsl:for-each select="//CUNIT_RUN_SUITE_SUCCESS">
+ <xsl:variable name="suiteName" select="normalize-space(SUITE_NAME/text())"/>
+ <xsl:variable name="numberOfTests" select="count(CUNIT_RUN_TEST_RECORD/CUNIT_RUN_TEST_SUCCESS)"/>
+ <xsl:variable name="numberOfFailures" select="count(CUNIT_RUN_TEST_RECORD/CUNIT_RUN_TEST_FAILURE)"/>
+ <testsuite
+ name="{$suiteName}"
+ tests="{$numberOfTests}"
+ time="0"
+ failures="{$numberOfFailures}"
+ passed="1"
+ errors="2"
+ skipped="3">
+ </testsuite>
+ </xsl:for-each>
+ </testsuites>
+</xsl:template>
+</xsl:stylesheet>
+EOF