[svn-commits] pabelanger: testsuite/asterisk/trunk r884 - /asterisk/trunk/runtests.py

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Nov 19 23:27:33 CST 2010


Author: pabelanger
Date: Fri Nov 19 23:27:29 2010
New Revision: 884

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=884
Log:
Revert '<![CDATA[ ... ]]' logic

Modified:
    asterisk/trunk/runtests.py

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=884&r1=883&r2=884
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Fri Nov 19 23:27:29 2010
@@ -333,14 +333,14 @@
             if t.passed is True:
                 f.write('/>\n')
                 continue
-            f.write(">\n\t\t<failure>\n")
+            f.write(">\n\t\t<failure><![CDATA[\n")
             try:
                 test_output = open("tests/%s/test-output.txt" % t.test_name, "r")
                 f.write("%s" % test_output.read())
                 test_output.close()
             except IOError:
                 print "Failed to open test output for %s" % t.test_name
-            f.write("\t\t></failure>\n\t</testcase>\n")
+            f.write("\n\t\t]]></failure>\n\t</testcase>\n")
         f.write('</testsuite>\n')
         f.close()
 




More information about the svn-commits mailing list