mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
217 lines
7.4 KiB
Makefile
217 lines
7.4 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@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
MOCHITEST_FILES = \
|
|
android.json \
|
|
test_canvas.html \
|
|
test_isPointInStroke.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.clip.winding.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.canvas.hard-light.html \
|
|
test_2d.composite.canvas.soft-light.html \
|
|
test_2d.composite.canvas.color.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.solid.hard-light.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.composite.uncovered.fill.multiply.html \
|
|
test_2d.composite.uncovered.fill.screen.html \
|
|
test_2d.composite.uncovered.fill.overlay.html \
|
|
test_2d.composite.uncovered.fill.darken.html \
|
|
test_2d.composite.uncovered.fill.lighten.html \
|
|
test_2d.composite.uncovered.fill.color-dodge.html \
|
|
test_2d.composite.uncovered.fill.color-burn.html \
|
|
test_2d.composite.uncovered.fill.hard-light.html \
|
|
test_2d.composite.uncovered.fill.soft-light.html \
|
|
test_2d.composite.uncovered.fill.difference.html \
|
|
test_2d.composite.uncovered.fill.exclusion.html \
|
|
test_2d.composite.uncovered.fill.hue.html \
|
|
test_2d.composite.uncovered.fill.saturation.html \
|
|
test_2d.composite.uncovered.fill.color.html \
|
|
test_2d.composite.uncovered.fill.luminosity.html \
|
|
test_2d.drawImage.zerocanvas.html \
|
|
test_2d.fill.winding.html \
|
|
test_2d.isPointInPath.winding.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_canvas_strokeStyle_getter.html \
|
|
test_bug613794.html \
|
|
test_bug753758.html \
|
|
test_bug764125.html \
|
|
test_bug856472.html \
|
|
test_bug866575.html \
|
|
test_drawImage_edge_cases.html \
|
|
test_drawImage_document_domain.html \
|
|
test_mozDashOffset.html \
|
|
file_drawImage_document_domain.html \
|
|
test_windingRuleUndefined.html \
|
|
$(NULL)
|
|
|
|
# SkiaGL on Android/Gonk does not implement these composite ops yet
|
|
|
|
MOCHITEST_FILES += \
|
|
test_2d.composite.canvas.color-burn.html \
|
|
test_2d.composite.canvas.color-dodge.html \
|
|
test_2d.composite.canvas.darken.html \
|
|
test_2d.composite.canvas.difference.html \
|
|
test_2d.composite.canvas.exclusion.html \
|
|
test_2d.composite.canvas.hue.html \
|
|
test_2d.composite.canvas.lighten.html \
|
|
test_2d.composite.canvas.luminosity.html \
|
|
test_2d.composite.canvas.multiply.html \
|
|
test_2d.composite.canvas.overlay.html \
|
|
test_2d.composite.canvas.saturation.html \
|
|
test_2d.composite.canvas.screen.html \
|
|
test_2d.composite.solid.color-burn.html \
|
|
test_2d.composite.solid.color-dodge.html \
|
|
test_2d.composite.solid.color.html \
|
|
test_2d.composite.solid.darken.html \
|
|
test_2d.composite.solid.difference.html \
|
|
test_2d.composite.solid.exclusion.html \
|
|
test_2d.composite.solid.hue.html \
|
|
test_2d.composite.solid.lighten.html \
|
|
test_2d.composite.solid.luminosity.html \
|
|
test_2d.composite.solid.multiply.html \
|
|
test_2d.composite.solid.overlay.html \
|
|
test_2d.composite.solid.saturation.html \
|
|
test_2d.composite.solid.screen.html \
|
|
test_2d.composite.solid.soft-light.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)
|
|
|
|
ifneq ($(MOZ_WIDGET_TOOLKIT), android)
|
|
ifneq ($(MOZ_WIDGET_TOOLKIT), gonk)
|
|
# This is an issue with Quartz's handling of radial gradients and some numeric
|
|
# imprecision that results in errors here. SkiaGL (on Android/Gonk) also has
|
|
# a similar problem.
|
|
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)
|
|
endif
|
|
endif
|
|
|
|
# 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
|