Bug 1041844 - Disable e10s tests on Aurora and Beta. r=evold, a=sledru
authorTomislav Jovanovic <tomica@gmail.com>
Thu, 31 Jul 2014 14:12:51 -0400
changeset 217331 d7b017e422bb393c5d8689634ed6a93c1070fc24
parent 217330 744f25e22f20ab5b16dc985b8b26dd548ed487f2
child 217332 0c070c30cde4dffc7a4a806074ede73c8247eccd
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersevold, sledru
bugs1041844
milestone33.0a2
Bug 1041844 - Disable e10s tests on Aurora and Beta. r=evold, a=sledru
addon-sdk/source/test/addons/e10s/lib/main.js
--- a/addon-sdk/source/test/addons/e10s/lib/main.js
+++ b/addon-sdk/source/test/addons/e10s/lib/main.js
@@ -23,9 +23,14 @@ exports.testTabIsRemote = function(asser
   mm.addMessageListener('7', function listener() {
     mm.removeMessageListener('7', listener);
     tabs.once('close', done);
     closeTab(tab);
   })
   mm.loadFrameScript('data:,sendAsyncMessage("7")', true);
 }
 
+// e10s tests should not ride the train to aurora, beta
+if (getPref('app.update.channel') !== 'nightly') {
+  module.exports = {};
+}
+
 require('sdk/test/runner').runTestsFromModule(module);