summaryrefslogtreecommitdiff
path: root/.ci/run-tests.sh
blob: 816509b580f46dbd2ae725c647a5c0938fd2102d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -x

set -e

SRCDIR=`pwd`
cd /home/user
cp -r $SRCDIR ./
cd accountsservice
meson setup --localstatedir /var -Db_coverage=true _build
# FIXME until we can figure out how to depend on mocklibc being built for the tests
meson compile -C _build
VALGRIND=1 meson test -C _build -v --print-errorlogs --no-stdsplit --timeout-multiplier 100
ninja -C _build coverage