2012-09-19 11:19:00 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
2013-04-18 07:32:25 -07:00
|
|
|
relativesrcdir = @relativesrcdir@
|
2012-09-19 11:19:00 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
_TEST_FILES = \
|
|
|
|
test_permission_basics.html \
|
2013-03-29 15:28:26 -07:00
|
|
|
test_alarms.html \
|
|
|
|
test_idle.html \
|
|
|
|
test_permissions.html \
|
|
|
|
test_power.html \
|
|
|
|
test_settings.html \
|
|
|
|
test_systemXHR.html \
|
|
|
|
test_tcp-socket.html \
|
|
|
|
test_webapps-manage.html \
|
|
|
|
test_browser.html \
|
|
|
|
test_embed-apps.html \
|
|
|
|
file_shim.html \
|
|
|
|
file_framework.js \
|
2012-09-19 11:19:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-29 15:28:26 -07:00
|
|
|
# disabled until bug 859593 is fixed
|
|
|
|
#_TEST_FILES += \
|
|
|
|
# test_camera.html \
|
|
|
|
# $(NULL)
|
|
|
|
|
|
|
|
ifdef MOZ_B2G
|
|
|
|
_TEST_FILES += \
|
|
|
|
test_keyboard.html \
|
|
|
|
test_wifi-manage.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_B2G_RIL
|
|
|
|
_TEST_FILES += \
|
|
|
|
test_cellbroadcast.html \
|
|
|
|
test_mobileconnection.html \
|
|
|
|
test_networkstats-manage.html \
|
|
|
|
test_telephony.html \
|
|
|
|
test_voicemail.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_B2G_FM
|
|
|
|
_TEST_FILES += \
|
|
|
|
test_fmradio.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_B2G_BT
|
|
|
|
_TEST_FILES += \
|
|
|
|
test_bluetooth.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_WEBSMS_BACKEND
|
|
|
|
_TEST_FILES += \
|
|
|
|
test_sms.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_TIME_MANAGER
|
|
|
|
_TEST_FILES += \
|
|
|
|
test_time.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2012-09-19 11:19:00 -07:00
|
|
|
_CHROME_TEST_FILES = \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libs:: $(_TEST_FILES)
|
|
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|