[pango/pango2: 301/301] ci: Fix running tests manually




commit b92d3cf1136ee6a49c6b3f708546e3f6d454d9d0
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]