ci: export ASAN_OPTIONS
This allows splitting the `meson test` command on multiple lines. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
@@ -21,9 +21,11 @@ export PATH=$HOME/.local/bin:$PATH
|
|||||||
/usr/local/bin/seatd &
|
/usr/local/bin/seatd &
|
||||||
while ! [ -e /run/seatd.sock ]; do sleep 0.1; done
|
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
|
# run the tests and save the exit status
|
||||||
# we give ourselves a very generous timeout multiplier due to ASan overhead
|
# 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=$?
|
TEST_RES=$?
|
||||||
|
|
||||||
# create a file to keep the result of this script:
|
# create a file to keep the result of this script:
|
||||||
|
|||||||
Reference in New Issue
Block a user