Procházet zdrojové kódy

bug fixes

[SVN r23682]
Aleksey Gurtovoy před 22 roky
rodič
revize
2ba3fb700b

+ 4 - 1
tools/regression/xsl_reports/merger/merge_logs.py

@@ -14,9 +14,12 @@ import sys
 def download_test_runs( destination, tag, user ):
     utils.log( 'Downloading test runs for tag "%s" [connecting as %s]...' % ( tag, user ) )
 
+    destination_dir = os.path.join( destination, tag )
+    utils.makedirs( destination_dir )
+
     utils.sourceforge.download( 
           'regression-logs/incoming/%s/' % tag
-        , os.path.join( destination, tag )
+        , destination_dir
         , user
         )
     

+ 3 - 0
tools/regression/xsl_reports/utils/sourceforge.py

@@ -6,6 +6,9 @@ import sys
 site_dir = '/home/groups/b/bo/boost/htdocs'
 
 def download( source, destination, user ):
+    if sys.platform == 'win32':
+        destination = os.popen( 'cygpath "%s"' % destination ).read().splitlines()[0]
+
     utils.checked_system( [ 
           'rsync -v -r -z --progress %(user)s@shell.sourceforge.net:%(site_dir)s/%(source)s %(dest)s'
                 % { 'user': user, 'site_dir': site_dir, 'source': source, 'dest': destination }

粤ICP备19079148号