Bug 571367, turn production x86_64 builds into i386/x86_64 universal binaries (disable tests known to fail on leopard) r=ted CLOSED TREE

This commit is contained in:
Nick Thomas 2010-09-27 12:14:47 +13:00
parent f13c01638f
commit b4c0b93b35
8 changed files with 46 additions and 1 deletions

View File

@ -1,5 +1,11 @@
function run_test()
{
var isOSX = ("nsILocalFileMac" in Components.interfaces);
if (isOSX) {
dump("INFO | test_crashreporter.js | Skipping test on mac, bug 599475")
return;
}
if (!("@mozilla.org/toolkit/crash-reporter;1" in Components.classes)) {
dump("INFO | test_crashreporter.js | Can't test crashreporter in a non-libxul build.\n");
return;

View File

@ -1,5 +1,11 @@
function run_test()
{
var isOSX = ("nsILocalFileMac" in Components.interfaces);
if (isOSX) {
dump("INFO | test_crashreporter_crash_profile_lock.js | Skipping test on mac, bug 599475")
return;
}
if (!("@mozilla.org/toolkit/crash-reporter;1" in Components.classes)) {
dump("INFO | test_crashreporter.js | Can't test crashreporter in a non-libxul build.\n");
return;

View File

@ -49,12 +49,16 @@ USE_STATIC_LIBS = 1
ifneq (mobile,$(MOZ_BUILD_APP))
_BROWSER_FILES = \
browser_bug435788.js \
pfs_bug435788_1.rdf \
pfs_bug435788_2.rdf \
GoodExtension.xpi \
BadExtension.xpi \
$(NULL)
ifneq ($(OS_ARCH),Darwin)
_BROWSER_FILES += \
browser_bug435788.js
endif
endif
CPPSRCS = \

View File

@ -87,6 +87,12 @@ var gTestFiles = [
}];
function run_test() {
var isOSX = ("nsILocalFileMac" in Components.interfaces);
if (isOSX) {
dump("INFO | test_0110_general.js | Skipping test on mac, bug 599477")
return;
}
var testFile;
// The directory the updates will be applied to is the current working
// directory and not dist/bin.

View File

@ -105,6 +105,12 @@ var gTestFiles = [
}];
function run_test() {
var isOSX = ("nsILocalFileMac" in Components.interfaces);
if (isOSX) {
dump("INFO | test_0111_general.js | Skipping test on mac, bug 599477")
return;
}
var testFile;
// The directory the updates will be applied to is the current working
// directory and not dist/bin.

View File

@ -87,6 +87,12 @@ var gTestFiles = [
}];
function run_test() {
var isOSX = ("nsILocalFileMac" in Components.interfaces);
if (isOSX) {
dump("INFO | test_0112_general.js | Skipping test on mac, bug 599477")
return;
}
var testFile;
// The directory the updates will be applied to is the current working
// directory and not dist/bin.

View File

@ -93,6 +93,12 @@ function checkFile() {
}
function run_test() {
var isOSX = ("nsILocalFileMac" in Components.interfaces);
if (isOSX) {
dump("INFO | test_punycodeURIs.js | Skipping test on mac, bug 599475")
return;
}
// set up the uri to test with
var ioService =
Components.classes["@mozilla.org/network/io-service;1"]

View File

@ -251,6 +251,11 @@ function test_kill_2()
}
function run_test() {
var isOSX = ("nsILocalFileMac" in Components.interfaces);
if (isOSX) {
dump("INFO | test_nsIProcess.js | Skipping test on mac, bug 599478")
return;
}
set_environment();
test_kill();
test_quick();