summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-22 11:49:47 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-06-22 13:57:26 -0400
commitd70e5bbef9d226bf49e6fe7eccf22997ae712c20 (patch)
treed28bf04cc2ca36f9a70032209097c395fd257a90
parent08957c21aed90e45ae75d2f8d3bb42eddad5fa08 (diff)
downloadpango-d70e5bbef9d226bf49e6fe7eccf22997ae712c20.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 \