missing command for prun and mochitest
authorJoel Maher <joel.maher@gmail.com>
Tue, 01 Sep 2009 22:38:53 -0400
changeset 6 b83403dbc009f122667476f5faefebda857a3092
parent 5 6d49cede481acb1229484626377508beb2e62a5e
child 7 66b33bdac429170aeb3158671db60040e2b2fda6
push id7
push userjmaher@mozilla.com
push dateWed, 02 Sep 2009 02:39:02 +0000
missing command for prun and mochitest
mochidriver.py
--- a/mochidriver.py
+++ b/mochidriver.py
@@ -222,16 +222,17 @@ class MochiKit(maemkit.MaemKit):
       self.mkLogDir(self.options["logdir"])
 
       #TODO: figure out a method for utilizing all the other config/cli options available
       self.mochitestCommand = ["python " + os.path.normpath(os.path.join(self.options["testroot"], "runtests.py")) + " --autorun --close-when-done"]
       for option in ["utility-path","appname","xre-path","certificate-path"]:
           self.mochitestCommand.append("--" + option + "=" + os.path.normpath(self.options[option]))
       mCommand = " ".join(self.mochitestCommand)
 
+      singletest = ['prun.exe', '-w', self.options["appname"], '--environ:NO_EM_RESTART=1', '-no-remote', '-profile', '\\tests\\mochitesttestingprofile\\']
       for directory in self.directories:
           if (self.singletest == True):
   
               #TODO: make this a remote webserver in the options
               cmd = "http://192.168.55.100:8888/tests/"
               cmd += directory.replace("\\", "/") + "?logFile="
               #TODO: make this configurable...this is the location of the logfile on the device
               logfile = "\\tests\\mochitest\\mochi.log"