Bug 1577353 - Follow-up, fix path used by MozMill for modules dir, necessary for Windows local execution. r=kaie
authorRob Lemley <rob@thunderbird.net>
Wed, 25 Sep 2019 00:01:07 +0200
changeset 36933 8cf6fa3cb76d760e72dc1f59ab38b3ac538e98b9
parent 36932 475ba5f24a14c73649746ecabc140baa841ca18b
child 36934 1fec6625cb317ef1f2bee10a9099cbe946331170
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewerskaie
bugs1577353
Bug 1577353 - Follow-up, fix path used by MozMill for modules dir, necessary for Windows local execution. r=kaie
mail/test/mozmill/runtest.py
--- a/mail/test/mozmill/runtest.py
+++ b/mail/test/mozmill/runtest.py
@@ -335,17 +335,18 @@ class ThunderTestMozmill(mozmill.MozMill
 def monkeypatched_15_run_tests(self, tests, sleeptime=0):
     frame = mozmill.jsbridge.JSObject(self.bridge,
                 "ChromeUtils.import('chrome://mozmill/content/modules/frame.jsm')")
     sleep(sleeptime)
 
     # transfer persisted data
     frame.persisted = self.persisted
 
-    frame.registerModule("testing-common", TESTING_MODULES_DIR)
+    frame.registerModule("testing-common",
+        os.path.normpath(TESTING_MODULES_DIR))
 
     if len(tests) == 1 and not os.path.isdir(tests[0]):
         # tests[0] isn't necessarily an abspath'd path, so do that now
         test = os.path.abspath(tests[0])
         frame.runTestFile(test)
     else:
         # run the test files
         for test_dir in self.test_dirs: