[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Handle special characters in Junit report

From: Bhuvaneswaran A <bhuvan_at_collab.net>
Date: Fri, 04 Dec 2009 12:35:51 +0530

The failure message for few tests contain special characters, ex:
prop_tests.py. As a result, it creates an invalid xml file and not being
displayed in Hudson.

This commit fixes this issue, also tracked in issue 3541. With this fix,
the test results are displayed in Hudson, especially the results
specific to 1.6.x solaris build.
  http://subversion.tigris.org/issues/show_bug.cgi?id=3541

[[
Fix for issue 3541. When generating junit reports, remove special
characters, if any, from test failure messages.

* tools/dev/gen_junit_report.py
  (remove_special_characters): New method to remove special characters.
  (junit_testcase_fail, junit_testcase_xfail): Use
  remove_special_characters() method to remove special characters in
  test failure messages.
]]

-- 
Bhuvaneswaran A    
CollabNet Software P Ltd.  |  www.collab.net

Received on 2009-12-04 08:06:40 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.