# # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # for the specific language governing rights and limitations under the # License. # # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Mozilla Foundation. # Portions created by the Initial Developer are Copyright (C) 2007 # the Initial Developer. All Rights Reserved. # # Contributor(s): # # Alternatively, the contents of this file may be used under the terms of # either of the GNU General Public License Version 2 or later (the "GPL"), # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), # in which case the provisions of the GPL or the LGPL are applicable instead # of those above. If you wish to allow use of your version of this file only # under the terms of either the GPL or the LGPL, and not to allow others to # use your version of this file under the terms of the MPL, indicate your # decision by deleting the provisions above and replace them with the notice # and other provisions required by the GPL or the LGPL. If you do not delete # the provisions above, a recipient may use your version of this file under # the terms of any one of the MPL, the GPL or the LGPL. # # ***** END LICENSE BLOCK ***** DEPTH = ../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ relativesrcdir = modules/plugin/test include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/rules.mk _MOCHITEST_FILES = \ test_getauthenticationinfo.html \ test_npobject_getters.html \ test_npruntime_npnevaluate.html \ test_npruntime_npninvoke.html \ test_npruntime_npninvokedefault.html \ test_npruntime_identifiers.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_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_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 \ $(NULL) # test_npruntime_npnsetexception.html \ Disabled for e10s ifeq ($(OS_ARCH),WINNT) _MOCHITEST_FILES += \ test_windowed_invalidate.html \ $(NULL) endif _MOCHICHROME_FILES = \ test_bug479979.xul \ test_crash_notify.xul \ test_crash_notify_no_report.xul \ test_npruntime.xul \ test_privatemode.xul \ test_wmode.xul \ $(NULL) 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)