summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-02-12 18:03:48 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-02-12 18:12:53 +0000
commitf51ceb142bfb612940f6bf51eac31364ac86acf2 (patch)
treee1bc572c517847e7a91e370b8d7cc35b6182d0ee /.gitlab-ci
parente1d85aeeb0b4d7604c085efdab841640cdc3f083 (diff)
downloadgtk+-f51ceb142bfb612940f6bf51eac31364ac86acf2.tar.gz
ci: Fix linking of the CI assets in the report
The report is relative to the build directory, and so are the generated assets.
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/run-tests.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index 9bac5b93c8..5638fa6593 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -17,16 +17,18 @@ xvfb-run -a -s "-screen 0 1024x768x24" \
# generate the reports
exit_code=$?
+cd ${builddir}
+
$srcdir/.gitlab-ci/meson-junit-report.py \
--project-name=gtk \
--job-id="${CI_JOB_NAME}" \
- --output=${builddir}/report.xml \
- ${builddir}/meson-logs/testlog.json
+ --output=report.xml \
+ meson-logs/testlog.json
$srcdir/.gitlab-ci/meson-html-report.py \
--project-name=gtk \
--job-id="${CI_JOB_NAME}" \
- --reftest-output-dir="${builddir}/testsuite/reftests/output" \
- --output=${builddir}/report.html \
- ${builddir}/meson-logs/testlog.json
+ --reftest-output-dir="testsuite/reftests/output" \
+ --output=report.html \
+ meson-logs/testlog.json
exit $exit_code