ci: export ASAN_OPTIONS

This allows splitting the `meson test` command on multiple lines.

Signed-off-by: Simon Ser <contact@emersion.fr>
dev
Simon Ser 3 years ago
parent eb347687e7
commit 3e53a8d478
  1. 4
      .gitlab-ci/virtme-scripts/run-weston-tests.sh

@ -21,9 +21,11 @@ export PATH=$HOME/.local/bin:$PATH
/usr/local/bin/seatd &
while ! [ -e /run/seatd.sock ]; do sleep 0.1; done
export ASAN_OPTIONS=detect_leaks=0,atexit=1
# run the tests and save the exit status
# we give ourselves a very generous timeout multiplier due to ASan overhead
ASAN_OPTIONS=detect_leaks=0,atexit=1 meson test --no-rebuild --timeout-multiplier 4
meson test --no-rebuild --timeout-multiplier 4
TEST_RES=$?
# create a file to keep the result of this script:

Loading…
Cancel
Save