Bug 1281032 - skip entire directory on non linux. r?Tomcat
MozReview-Commit-ID: 2RdEP1J7sTi
--- a/browser/components/shell/test/browser.ini
+++ b/browser/components/shell/test/browser.ini
@@ -1,5 +1,6 @@
[DEFAULT]
+skip-if = os != "linux"
[browser_420786.js]
[browser_633221.js]
-skip-if = os != "linux"
+
--- a/browser/components/shell/test/browser_420786.js
+++ b/browser/components/shell/test/browser_420786.js
@@ -67,20 +67,16 @@ function onPageLoad() {
gBrowser.removeCurrentTab();
finish();
}
function test() {
var osString = Cc["@mozilla.org/xre/app-info;1"].
getService(Ci.nsIXULRuntime).OS;
- if (osString != "Linux") {
- todo(false, "This test is Linux specific for now.");
- return;
- }
try {
// If GSettings is available, then the GConf tests
// will fail
var gsettings = Cc["@mozilla.org/gsettings-service;1"].
getService(Ci.nsIGSettingsService).
getCollectionForSchema("org.gnome.desktop.background");
todo(false, "This test doesn't work when GSettings is available");