Spracherkennung für: .build vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
test_renderer = executable('test-svg-renderer',
sources: ['test-svg-renderer.c'],
c_args: common_cflags + [ '-DGTK_COMPILATION' ],
link_with: testutils_lib,
dependencies: libgtk_dep,
)
test_data = [
'aspect-ratio.svg',
'attach-to-pattern.svg',
'bad-filter.svg',
'bad-gradient.svg',
'blend-mode.svg',
'blend-mode-no-animation.test',
'circle.svg',
'circular.svg',
'clip.svg',
'clip-obb.svg',
'clip-path.svg',
'clip2.svg',
'clip3.svg',
'clip4.svg',
'clip5.svg',
'clip6.svg',
'clip7.svg',
'color.svg',
'color-matrix.svg',
'conditional.svg',
'crash-accumulate-dasharray.svg',
'crash-accumulate-path.svg',
'crash-accumulate-points.svg',
'crash-circular-use.svg',
'crash1.svg',
'crash2.svg',
'crash3.svg',
'css-filters.svg',
'currentcolor.svg',
'dashes.svg',
'ellipse.svg',
'ellipse2.svg',
'feTurbulence-basic.svg',
'filter.svg',
'filter-blend.svg',
'filter-displacement.svg',
'filter-color-matrix.svg',
'filter-color-matrix2.svg',
'filter-combined.svg',
'filter-component-transfer.svg',
'filter-composite.svg',
'filter-dropshadow.svg',
'filter-empty.svg',
'filter-fill-paint.svg',
'filter-flood.svg',
'filter-gaussian-blur.svg',
'filter-image.svg',
'filter-image-shenanigans.svg',
'filter-merge.svg',
'filter-offset.svg',
'filter-offset2.svg',
'filter-primitive-units-object-bounding-box.svg',
'filter-primitive-units-user-space-on-use.svg',
'filter-tile.svg',
'filter-turbulence.svg',
'filter-units-combined.svg',
'filter-units-object-bounding-box.svg',
'filter-units-user-space-on-use.svg',
'fonts.svg',
'font-size-units.svg',
'gpa-attachment1.svg',
'gpa-attachment2.svg',
'gpa-attachment3.svg',
'gpa-color1.test',
'gpa-color2.test',
'gpa-color3.test',
'gradient-templates1.svg',
'gradient-templates2.svg',
'gradient-transform.svg',
'image.svg',
'initial-state1.svg',
'initial-state2.svg',
'initial-state3.svg',
'initial-state4.svg',
'isolation.svg',
'line.svg',
'linear-gradient1.svg',
'linear-gradient2.svg',
'linear-gradient3.svg',
'linear-gradient4.svg',
'linear-gradient5.svg',
'linear-gradient6.svg',
'linear-gradient7.svg',
'linear-gradient8.svg',
'linear-gradient9.svg',
'linear-gradient10.svg',
'linear-gradient11.svg',
'marker1.svg',
'marker2.svg',
'marker3.svg',
'marker4.svg',
'marker5.svg',
'marker6.svg',
'marker7.svg',
'marker-cycles.svg',
'marker-orient.svg',
'mask.svg',
'mask-units.svg',
'media1.test',
'media2.test',
'more-filters.svg',
'nested-svg.svg',
'nested-svg-aspect-ratio.svg',
'nested-svg-overflow.svg',
'nested-svg-positioning.svg',
'nested-svg-viewbox.svg',
'nested-use.test',
'non-scaling-stroke.svg',
'not-rendered.svg',
'opacity.svg',
'overflow.svg',
'paint-order.svg',
'paint-order2.svg',
'paint-server-fallback.svg',
'pattern1.svg',
'pattern2.svg',
'pattern3.svg',
'pattern4.svg',
'pattern5.svg',
'pattern6.svg',
'pattern7.svg',
'pattern8.svg',
'pattern-billion-laughs.test',
'pattern-fallback-cycles.svg',
'percentage.svg',
'polygon.svg',
'polyline.svg',
'pservers-grad-08-b.svg',
'pservers-grad-11-b.svg',
'pseudo-classes.svg',
'radial-gradient1.svg',
'radial-gradient2.svg',
'radial-gradient3.svg',
'radial-gradient4.svg',
'rect.svg',
'rect2.svg',
'render-after-use.svg',
'rounded-rect.svg',
'rotated-pattern.svg',
'rotated-pattern2.svg',
'serialize-bad-font.svg',
'simple-shapes.svg',
'size-units.svg',
'specificity.svg',
'spec-ellipse.svg',
'spec-opacity.svg',
'spec-rect.svg',
'stroke-width.test',
'style.svg',
'style-priority.test',
'switch.svg',
'symbol.svg',
'symbolic-color1.test',
'symbolic-color2.test',
'symbolic-color3.test',
'symbolic-color4.test',
'text-align-01-b.svg',
'text-decorations-galore.svg',
'text-dominant-baseline-01.svg',
'text-fonts-02-t.svg',
'text-stroke-gradient.svg',
'text-text-03-b.svg',
'text-text-10-t.svg',
'transform-matrix.svg',
'transform-origin.svg',
'transform-rotate.svg',
'transform-skew.svg',
'use.svg',
'use2.svg',
'use-shadow-tree.svg',
'visibility.svg',
'viewbox.svg',
'viewport.svg',
'viewports.svg',
'zero-length-path-stroke.svg',
]
slow_tests = [
'nested-use.test',
'pattern-billion-laughs.test',
]
foreach testname : test_data
suites = [ 'svg', 'svg renderer' ]
if testname in slow_tests
suites += 'slow'
endif
test('svg renderer ' + testname, test_renderer,
args: [ '--tap',
'--verbose',
'-k',
'--output', meson.current_build_dir(),
join_paths(meson.current_source_dir(), testname),
],
protocol: 'tap',
env: [
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir())
],
suite: suites
)
endforeach