[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 10:24:02 CDT 2011


branch "master" has been updated
       via  32c0e805faca0ef8637f9b6a610aec878f2e109a (commit)
      from  d9d8f483731bfb3512f5a79c1328f470da3747b0 (commit)

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


- Log -----------------------------------------------------------------
commit 32c0e805faca0ef8637f9b6a610aec878f2e109a
Author: Darren Sessions <dsessions at digium.com>
Date:   Wed Apr 13 10:24:00 2011 -0500

    Fixed path issue with xml file generation.

diff --git a/bamboo/bin/tests.py b/bamboo/bin/tests.py
index 3fe91e5..d3ba27a 100644
--- a/bamboo/bin/tests.py
+++ b/bamboo/bin/tests.py
@@ -75,7 +75,7 @@ class test_asterisk_scf:
 
     def __write_results_xml(self, component): 
         try:
-            f = open("./%s_unit_test_results.xml" % component, "w")
+            f = open("../../%s_master_unit_test_results.xml" % component, "w")
         except IOError:
             print "Failed to open test results output file: "
             return
@@ -97,7 +97,7 @@ class test_asterisk_scf:
         f.close()
 
         try:
-            f = open("./%s_unit_test_results.xml" % component, "r")
+            f = open("../../%s_master_unit_test_results.xml" % component, "r")
         except IOError:
             print "Failed to open test results output file:"
         except:

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


-- 
asterisk-scf/release/testsuite.git



More information about the asterisk-scf-commits mailing list