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 208212 f3e354f0ec70
parent 208211 adc6758d943d
child 208213 c381e6fba574
push id3772
push userryanvm@gmail.com
push date2014-07-31 18:14 +0000
treeherdermozilla-beta@f3e354f0ec70 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersevold, sledru
bugs1041844
milestone32.0
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);