Bug 597056. Firefox browser-chrome tests are ending up in Fennec. ifdef them away for mobile builds. r=mfinkle. a=sayrer

This commit is contained in:
Joel Maher 2010-09-29 14:21:09 -04:00
parent 59cb80e4f4
commit 77d017bea1
2 changed files with 11 additions and 3 deletions

View File

@ -79,6 +79,8 @@ TEST_FILES = \
test_writer_starvation.html \
$(NULL)
ifneq (mobile,$(MOZ_BUILD_APP))
BROWSER_TEST_FILES = \
browserHelpers.js \
browser_permissionsPrompt.html \
@ -90,8 +92,10 @@ BROWSER_TEST_FILES = \
head.js \
$(NULL)
libs:: $(BROWSER_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)
endif
libs:: $(TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(BROWSER_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)

View File

@ -49,7 +49,11 @@ MODULE = test_libpr0n
XPCSHELL_TESTS = unit
DIRS += mochitest \
browser \
$(NULL)
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS += browser \
$(NULL)
endif
include $(topsrcdir)/config/rules.mk