Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 568733 - patch for mobile specific browser-chrome tests breaks se…
Browse files Browse the repository at this point in the history
…amonkey. r=ted

pending-feedback=jmaher

Also RE-enables browser-mochitests for docshell.
  • Loading branch information
Callek committed Jun 9, 2010
1 parent e063b26 commit 25dd876
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 17 deletions.
9 changes: 5 additions & 4 deletions docshell/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@ DIRS += chrome \
navigation \
$(NULL)

ifeq (browser,$(MOZ_BUILD_APP))
DIRS += browser
endif

XPCSHELL_TESTS = unit

include $(DEPTH)/config/autoconf.mk

ifneq (mobile,$(MOZ_BUILD_APP))
DIRS += browser
endif

include $(topsrcdir)/config/rules.mk

_TEST_FILES = \
Expand Down
2 changes: 1 addition & 1 deletion dom/tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ DIRS += mochitest \
$(NULL)
XPCSHELL_TESTS = unit

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
dirs += browser
endif

Expand Down
4 changes: 2 additions & 2 deletions layout/style/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ _VISITED_REFTEST_FILES = \
$(topsrcdir)/layout/reftests/svg/pseudo-classes-02-ref.svg \
$(NULL)

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
_BROWSER_FILES = \
browser_bug453896.js \
bug453896_iframe.html \
Expand All @@ -233,7 +233,7 @@ libs:: $(_TEST_FILES)
libs:: $(_VISITED_REFTEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)/css-visited/

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
libs:: $(_BROWSER_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)
endif
2 changes: 1 addition & 1 deletion toolkit/components/downloads/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ XPCSHELL_TESTS = \
schema_migration \
$(NULL)

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS = \
browser \
$(NULL)
Expand Down
2 changes: 1 addition & 1 deletion toolkit/components/passwordmgr/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ relativesrcdir = toolkit/components/passwordmgr/test

include $(DEPTH)/config/autoconf.mk

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS = \
browser \
$(NULL)
Expand Down
2 changes: 1 addition & 1 deletion toolkit/components/places/tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ DIRS = \
mochitest/bug_461710 \
$(NULL)

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS += browser
endif

Expand Down
2 changes: 1 addition & 1 deletion toolkit/components/startup/tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS = \
browser \
$(NULL)
Expand Down
2 changes: 1 addition & 1 deletion toolkit/content/tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ XPCSHELL_TESTS = unit

DIRS = chrome widgets

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS += browser
endif

Expand Down
2 changes: 1 addition & 1 deletion toolkit/crashreporter/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ endif

include $(topsrcdir)/config/rules.mk

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
_BROWSER_FILES = \
browser/aboutcrashes_utils.js \
browser/crashreport.sjs \
Expand Down
2 changes: 1 addition & 1 deletion toolkit/mozapps/extensions/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ DIRS = \
xpinstall \
$(NULL)

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS += browser
endif

Expand Down
4 changes: 2 additions & 2 deletions toolkit/mozapps/plugins/tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ relativesrcdir = toolkit/mozapps/plugins/tests
TESTROOT = $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)
USE_STATIC_LIBS = 1

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
_BROWSER_FILES = \
browser_bug435788.js \
pfs_bug435788_1.rdf \
Expand Down Expand Up @@ -75,7 +75,7 @@ $(TESTROOT):
$(PROGRAMS): $(TESTROOT)/% : %$(BIN_SUFFIX)
cp $< $@

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
libs::
$(INSTALL) $(foreach f,$(_BROWSER_FILES),"$(srcdir)/$f") $(TESTROOT)

Expand Down
2 changes: 1 addition & 1 deletion xpinstall/tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ relativesrcdir = xpinstall/tests
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

ifeq (browser,$(MOZ_BUILD_APP))
ifneq (mobile,$(MOZ_BUILD_APP))
_BROWSER_FILES = harness.js \
browser_unsigned_url.js \
browser_unsigned_trigger.js \
Expand Down

0 comments on commit 25dd876

Please sign in to comment.