gecko/content/canvas/test/Makefile.in
Nicholas Cameron 6d44a38ee5 Bug 800556; test for mozDashOffset errors; r=Ms2ger
--HG--
extra : rebase_source : 834c2d1c426a8f33b66ee60e3fef912d652d5f59
2012-11-13 21:39:37 -08:00

156 lines
5.1 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 = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = @relativesrcdir@
DIRS += webgl crossorigin chrome
include $(DEPTH)/config/autoconf.mk
MOCHITEST_FILES = \
test_canvas.html \
image_transparent50.png \
image_redtransparent.png \
image_yellow.png \
image_anim-poster-gr.png \
image_green-16x16.png \
image_red-16x16.png \
image_green-1x1.png \
image_ggrr-256x256.png \
image_yellow75.png \
image_anim-gr.gif \
image_rrgg-256x256.png \
image_broken.png \
image_anim-gr.png \
image_rgrg-256x256.png \
image_red.png \
image_transparent.png \
image_green.png \
image_green-redirect \
image_green-redirect^headers^ \
test_drawImageIncomplete.html \
test_canvas_font_setter.html \
test_2d.clearRect.image.offscreen.html \
test_2d.composite.canvas.destination-atop.html \
test_2d.composite.canvas.destination-in.html \
test_2d.composite.canvas.source-in.html \
test_2d.composite.canvas.source-out.html \
test_2d.composite.image.destination-atop.html \
test_2d.composite.image.destination-in.html \
test_2d.composite.image.source-in.html \
test_2d.composite.image.source-out.html \
test_2d.composite.uncovered.image.destination-in.html \
test_2d.composite.uncovered.image.source-in.html \
test_2d.composite.uncovered.image.source-out.html \
test_2d.drawImage.zerocanvas.html \
test_2d.strokeRect.zero.5.html \
test_toBlob.html \
test_toDataURL_alpha.html \
test_toDataURL_lowercase_ascii.html \
test_toDataURL_parameters.html \
test_mozGetAsFile.html \
test_mozIsPointInStroke.html \
test_canvas_strokeStyle_getter.html \
test_bug613794.html \
test_bug753758.html \
test_bug764125.html \
test_drawImage_edge_cases.html \
test_drawImage_document_domain.html \
test_mozDashOffset.html \
file_drawImage_document_domain.html \
$(NULL)
ifneq (1_Linux,$(MOZ_SUITE)_$(OS_ARCH))
# This test fails in Suite on Linux for some reason, disable it there
MOCHITEST_FILES += test_2d.composite.uncovered.image.destination-atop.html
endif
# xor and lighter aren't well handled by cairo; they mostly work, but we don't want
# to test that
# test_2d.composite.solid.xor.html \
# test_2d.composite.solid.lighter.html \
# test_2d.composite.transparent.xor.html \
# test_2d.composite.transparent.lighter.html \
# test_2d.composite.image.xor.html \
# test_2d.composite.image.lighter.html \
# test_2d.composite.canvas.xor.html \
# test_2d.composite.canvas.lighter.html \
# test_2d.composite.clip.xor.html \
# test_2d.composite.clip.lighter.html \
#
# Tests that fail on Mac (possibly because spec is underdefined?). Bug 407105
ifneq ($(MOZ_WIDGET_TOOLKIT),cocoa)
# XXX vlad don't test these anywhere, cairo behaviour changed
MOCHITEST_FILES += \
test_2d.line.join.parallel.html \
$(NULL)
# This is an issue with Quartz's handling of radial gradients and some numeric
# imprecision that results in errors here.
MOCHITEST_FILES += \
test_2d.gradient.radial.inside2.html \
test_2d.gradient.radial.inside3.html \
test_2d.gradient.radial.outside1.html \
test_2d.gradient.radial.cone.front.html \
test_2d.gradient.radial.cone.top.html \
$(NULL)
# This is another Quartz bug -- closed paths that don't lie fully within the
# destination bounds seem to have problems with the BEVEL/SQUARE join/cap combo.
# The joins are rendered as if with MITER; the correct behaviour is also seen
# if BUTT is used instead of SQUARE.
MOCHITEST_FILES += test_2d.line.cap.closed.html
endif
# Tests that fail on non-Mac (bug 407107)
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
# still need bug numbers
MOCHITEST_FILES += \
test_2d.composite.uncovered.fill.source-in.html \
test_2d.composite.uncovered.fill.destination-in.html \
test_2d.composite.uncovered.fill.source-out.html \
test_2d.composite.uncovered.fill.destination-atop.html \
test_2d.composite.uncovered.pattern.source-in.html \
test_2d.composite.uncovered.pattern.destination-in.html \
test_2d.composite.uncovered.pattern.source-out.html \
test_2d.composite.uncovered.pattern.destination-atop.html \
$(NULL)
# still need bug numbers
MOCHITEST_FILES += \
test_2d.gradient.radial.outside2.html \
test_2d.gradient.radial.outside3.html \
$(NULL)
# still need bug numbers
MOCHITEST_FILES += test_2d.path.arc.shape.3.html
MOCHITEST_FILES += test_2d.path.rect.selfintersect.html
endif
# These tests only pass on Mac OS X >= 10.5; see bug 450114
# test_2d.gradient.radial.touch1.html \
# test_2d.gradient.radial.touch2.html \
# test_2d.gradient.radial.touch3.html \
# test_2d.gradient.radial.equal.html \
# These tests do not pass on any platform; Quartz backend won't pass them
# because we fall back to pixman when one circle doesn't contain the other.
# See bug 512647.
# test_2d.gradient.radial.cone.shape2.html \
# test_2d.gradient.radial.cone.behind.html \
# test_2d.gradient.radial.cone.beside.html \
# This test is bogus according to the spec; see bug 407107
# test_2d.path.rect.zero.6.html
# split up into groups to work around command-line length limits
include $(topsrcdir)/config/rules.mk