Backed out changeset 3f8a9cfdc055 (bug 857599) for Mn failures on a CLOSED TREE.

This commit is contained in:
Ryan VanderMeulen 2013-04-09 18:22:14 -04:00
parent 02b97b7f4f
commit ad089d7e82

View File

@ -2,7 +2,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/
from mozprofile import Profile
from mozrunner import Runner
@ -25,11 +24,11 @@ class GeckoInstance(object):
if not profile_path:
profile_args["restore"] = False
else:
profile_args["path_from"] = profile_path
profile_args["profile"] = profile_path
print "starting runner"
self.runner = CloneRunner.create(binary=self.bin,
profile_args=profile_args,
cmdargs=['-no-remote'])
self.runner = Runner.create(binary=self.bin,
profile_args=profile_args,
cmdargs=['-no-remote'])
self.runner.start()
def close(self):
@ -42,8 +41,3 @@ class B2GDesktopInstance(GeckoInstance):
required_prefs = {"focusmanager.testmode": True}
apps = {'b2gdesktop': B2GDesktopInstance}
class CloneRunner(Runner):
profile_class = Profile.clone