Bug 1101133 - correct windows paths to use backslashes instead of forward slashes,r=jlund
authorPeter Moore <pmoore@mozilla.com>
Mon, 24 Nov 2014 11:00:21 +0100
changeset 3409 6c660d6a19de16ddd250853e8e14c6cef16f7f18
parent 3407 d1c22446e8a14c64f279ede9dd4bf3974a1aef1a
child 3410 e3c7d669a8b24fbe53cc7d32fa53692a969a7562
child 3411 9475991241fc6c06f41432c2af86bf488911a94f
push id2636
push userpmoore@mozilla.com
push dateMon, 24 Nov 2014 10:00:24 +0000
reviewersjlund
bugs1101133
Bug 1101133 - correct windows paths to use backslashes instead of forward slashes,r=jlund
scripts/desktop_unittest.py
--- a/scripts/desktop_unittest.py
+++ b/scripts/desktop_unittest.py
@@ -255,17 +255,17 @@ class DesktopUnittest(TestingMixin, Merc
         return self.symbols_url
 
     def _query_abs_base_cmd(self, suite_category):
         if self.binary_path:
             c = self.config
             dirs = self.query_abs_dirs()
             run_file = c['run_file_names'][suite_category]
             base_cmd = [self.query_python_path('python'), '-u']
-            base_cmd.append(dirs["abs_%s_dir" % suite_category] + "/" + run_file)
+            base_cmd.append(os.path.join(dirs["abs_%s_dir" % suite_category], run_file))
             abs_app_dir = self.query_abs_app_dir()
 
             webapprt_path = os.path.join(os.path.dirname(self.binary_path),
                                          'webapprt-stub')
             if c.get('exe_suffix'):
                 webapprt_path += c['exe_suffix']
 
             str_format_values = {