gecko/dom/plugins/test/mochitest/Makefile.in
2012-05-21 12:12:37 +01:00

154 lines
3.9 KiB
Makefile

#
# 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@
relativesrcdir = dom/plugins/test
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_MOCHITEST_FILES = \
utils.js \
test_defaultValue.html \
test_getauthenticationinfo.html \
test_npobject_getters.html \
test_npruntime_npnevaluate.html \
test_npruntime_npninvoke.html \
test_npruntime_npninvokedefault.html \
test_npruntime_identifiers.html \
npruntime_identifiers_subpage.html \
loremipsum.txt \
loremipsum_file.txt \
loremipsum_nocache.txt \
loremipsum_nocache.txt^headers^ \
post.sjs \
pluginstream.js \
plugin_window.html \
test_painting.html \
test_pluginstream_err.html \
test_pluginstream_src.html \
test_pluginstream_src_dynamic.html \
test_pluginstream_geturl.html \
test_pluginstream_geturlnotify.html \
test_pluginstream_asfile.html \
test_pluginstream_asfileonly.html \
test_pluginstream_post.html \
test_pluginstream_poststream.html \
test_pluginstream_seek.html \
test_pluginstream_newstream.html \
test_pluginstream_seek_close.html \
test_fullpage.html \
loremipsum.xtest \
loremipsum.xtest^headers^ \
test_multipleinstanceobjects.html \
test_streamNotify.html \
test_instantiation.html \
test_cookies.html \
test_npn_timers.html \
test_npn_asynccall.html \
test_bug532208.html \
large-pic.jpg \
test_twostreams.html \
test_streamatclose.html \
neverending.sjs \
test_newstreamondestroy.html \
test_crashing.html \
$(warning test_crashing2.html disabled due to random orange; see bug 566049) \
test_hanging.html \
crashing_subpage.html \
test_GCrace.html \
test_propertyAndMethod.html \
test_bug539565-1.html \
test_bug539565-2.html \
test_enumerate.html \
test_npruntime_construct.html \
307-xo-redirect.sjs \
test_redirect_handling.html \
test_zero_opacity.html \
test_NPPVpluginWantsAllNetworkStreams.html \
test_npruntime_npnsetexception.html \
test_NPNVdocumentOrigin.html \
test_instance_re-parent.html \
test_instance_unparent1.html \
test_instance_unparent2.html \
test_instance_unparent3.html \
test_pluginstream_referer.html \
test_pluginstream_src_referer.html \
plugin-stream-referer.sjs \
test_src_url_change.html \
$(NULL)
# test_plugin_scroll_painting.html \ bug 596491
ifeq ($(OS_ARCH),WINNT)
_MOCHITEST_FILES += \
test_windowed_invalidate.html \
$(NULL)
# test_positioning.html \ disabled due to oddness, perhaps scrolling of the
# mochitest window?
endif
_MOCHICHROME_FILES = \
utils.js \
test_clear_site_data.html \
test_npruntime.xul \
test_privatemode.xul \
test_wmode.xul \
test_bug479979.xul \
$(NULL)
ifneq ($(MOZ_WIDGET_TOOLKIT),cocoa)
_MOCHITEST_FILES += \
test_instance_re-parent-windowed.html \
test_visibility.html \
$(NULL)
ifneq ($(OS_ARCH),WINNT)
_MOCHICHROME_FILES += \
test_xulbrowser_plugin_visibility.xul \
xulbrowser_plugin_visibility.xul \
plugin_visibility_loader.html \
$(NULL)
endif
endif
ifdef MOZ_CRASHREPORTER
_MOCHICHROME_FILES += \
test_crash_notify.xul \
test_crash_notify_no_report.xul \
test_crash_submit.xul \
$(NULL)
endif
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
_MOCHICHROME_FILES += \
test_convertpoint.xul \
$(NULL)
_MOCHITEST_FILES += \
test_cocoa_window_focus.html \
cocoa_window_focus.html \
test_cocoa_focus.html \
cocoa_focus.html \
$(NULL)
endif
ifeq (gtk2,$(MOZ_WIDGET_TOOLKIT))
_MOCHITEST_FILES += \
test_copyText.html \
test_crash_nested_loop.html \
$(NULL)
endif
libs:: $(_MOCHICHROME_FILES)
$(INSTALL) $^ $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)
libs:: $(_MOCHITEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)