summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-22 11:49:47 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-07-04 11:17:21 -0400
commita0ac3d8a19bcd7d43c3aa14f0687c991af85a7c5 (patch)
tree2f4c1fe520064300f6a8cbe13b1afa6f89b25f0b
parent24a66f109ea33db50d566710ed061065268a2d48 (diff)
downloadpango-a0ac3d8a19bcd7d43c3aa14f0687c991af85a7c5.tar.gz
ci: Fix running tests manually
Our tests now require G_TEST_SRCDIR to be set.
-rwxr-xr-x.gitlab-ci/run-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index c071bd18..98f238d8 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -15,7 +15,7 @@ export G_SLICE=always-malloc
meson test -C ${builddir} \
--timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
--print-errorlogs \
- --suite=pango
+ --suite=pango
# Store the exit code for the CI run, but always
# generate the reports
@@ -24,7 +24,7 @@ exit_code=$?
cd ${builddir}
./utils/pango-list --verbose > fontlist.txt
-./tests/test-font -p /pango/font/metrics --verbose
+G_TEST_SRCDIR=${srcdir}/tests ./tests/test-font -p /pango/font/metrics --verbose
./utils/pango-view --no-display --output hello.png ${srcdir}/utils/HELLO.txt
$srcdir/.gitlab-ci/meson-junit-report.py \