From 5cbf33ed7bce8819ca2e360b254332293b831311 Mon Sep 17 00:00:00 2001 From: Joel Maher Date: Mon, 1 Oct 2012 08:50:10 -0400 Subject: [PATCH] Bug 792029 - Make SpecialPowers available in crashtests. r=ted --- layout/tools/reftest/runreftest.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/layout/tools/reftest/runreftest.py b/layout/tools/reftest/runreftest.py index 331820cb18d5..0da4456714b4 100644 --- a/layout/tools/reftest/runreftest.py +++ b/layout/tools/reftest/runreftest.py @@ -79,6 +79,13 @@ class RefTest(object): profileDir, "reftest@mozilla.org") + # I would prefer to use "--install-extension reftest/specialpowers", but that requires tight coordination with + # release engineering and landing on multiple branches at once. + if manifest.endswith('crashtests.list'): + self.automation.installExtension(os.path.join(SCRIPT_DIRECTORY, "specialpowers"), + profileDir, + "special-powers@mozilla.org") + def buildBrowserEnv(self, options, profileDir): browserEnv = self.automation.environment(xrePath = options.xrePath) browserEnv["XPCOM_DEBUG_BREAK"] = "stack"