[pango/pango2: 172/178] ci: Fix running tests manually
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 172/178] ci: Fix running tests manually
- Date: Wed, 22 Jun 2022 20:10:18 +0000 (UTC)
commit d70e5bbef9d226bf49e6fe7eccf22997ae712c20
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 22 11:49:47 2022 -0400
ci: Fix running tests manually
Our tests now require G_TEST_SRCDIR to be set.
.gitlab-ci/run-tests.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index c071bd187..98f238d83 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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]