mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 02:30:11 +01:00
Later we'll add one coverage job per backend, and aggregate all of the results at the end for the coverage report.
17 lines
533 B
Bash
17 lines
533 B
Bash
#!/bin/sh
|
|
|
|
set -eux -o pipefail
|
|
|
|
export CFLAGS="-coverage -ftest-coverage -fprofile-arcs"
|
|
|
|
export CAIRO_TEST_IGNORE_image_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-image-argb32.txt)
|
|
export CAIRO_TEST_IGNORE_image_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-image-rgb24.txt)
|
|
export CAIRO_TEST_IGNORE_image16_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-image16-rgb24.txt)
|
|
export CAIRO_TEST_TARGET=image,image16
|
|
|
|
meson setup --buildtype=debug _build .
|
|
meson compile -C _build
|
|
|
|
export srcdir=../../test
|
|
cd _build/test
|
|
xvfb-run ./cairo-test-suite
|