From 3e53a8d478f9360dd5bea5cf10445b960f58cf3d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 13 Sep 2021 11:11:39 +0200 Subject: [PATCH] ci: export ASAN_OPTIONS This allows splitting the `meson test` command on multiple lines. Signed-off-by: Simon Ser --- .gitlab-ci/virtme-scripts/run-weston-tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: