diff options
author | Simon Ser <contact@emersion.fr> | 2021-09-13 11:11:39 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-09-14 16:19:45 +0200 |
commit | 3e53a8d478f9360dd5bea5cf10445b960f58cf3d (patch) | |
tree | 54074eb838e5d77f2b84bf705b98974a61d0952b /.gitlab-ci | |
parent | eb347687e70f9c714459de964bb436c71d0e999a (diff) |
ci: export ASAN_OPTIONS
This allows splitting the `meson test` command on multiple lines.
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x | .gitlab-ci/virtme-scripts/run-weston-tests.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci/virtme-scripts/run-weston-tests.sh b/.gitlab-ci/virtme-scripts/run-weston-tests.sh index 4d15f089..5f21263a 100755 --- a/.gitlab-ci/virtme-scripts/run-weston-tests.sh +++ b/.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: |