[asterisk-scf-commits] asterisk-scf/release/testsuite.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Apr 13 16:45:20 CDT 2011


branch "master" has been updated
       via  dc6d27d55e7aba7fca8c11826d3fad5905f40320 (commit)
      from  d1ff50791eb59d889181c93d1cc71782fe8626c7 (commit)

Summary of changes:
 bamboo/bin/tests.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit dc6d27d55e7aba7fca8c11826d3fad5905f40320
Author: Darren Sessions <dsessions at digium.com>
Date:   Wed Apr 13 16:45:17 2011 -0500

    Modified regex search for boost xml files to just look for '*result.xml' so that the StateReplicatorTest-result.xml generated after unit-tests can be found.

diff --git a/bamboo/bin/tests.py b/bamboo/bin/tests.py
index a5c4404..a558034 100644
--- a/bamboo/bin/tests.py
+++ b/bamboo/bin/tests.py
@@ -41,7 +41,7 @@ class test_asterisk_scf:
         for root, dirs, files in tree:
             if len(files)>0:
                 for f in files:
-                    if re.match(r"^(?!converted).*test-result.xml", f):
+                    if re.match(r"^(?!converted).*result.xml", f):
                         os.system("%s /opt/bamboo/boost_to_junit.xsl %s >> converted_%s" % (which("xsltproc"), f, f))
                         os.remove(f)
 

-----------------------------------------------------------------------


-- 
asterisk-scf/release/testsuite.git



More information about the asterisk-scf-commits mailing list