blob: b35dd6ea6a3a768eb9db686c4213151c3bd5c92e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
set +x
set +e
srcdir=$( pwd )
builddir=$1
export PATH="${HOME}/.local/bin:${PATH}"
meson test -C ${builddir} \
--print-errorlogs
# Store the exit code for the CI run, but always
# generate the reports
exit_code=$?
cd ${builddir}
$srcdir/.gitlab-ci/meson-junit-report.py \
--project-name=atk \
--job-id="${CI_JOB_NAME}" \
--output=report.xml \
meson-logs/testlog.json
exit $exit_code
|