Commit 6fbf7be6 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

CI: Use custom meson with asan tests as well

The asan tests seems to timeout a bit more often than the non asan one,
so let's hope we can find more potential deadlock this way
parent 8a952304
Pipeline #129160 passed with stage
in 10 minutes and 35 seconds
...@@ -132,10 +132,12 @@ asan-ubsan: ...@@ -132,10 +132,12 @@ asan-ubsan:
- ./configure LDFLAGS="-lasan -lubsan" --prefix=$(pwd)/prefix --disable-qt --with-sanitizer=address,undefined --disable-medialibrary --disable-nls --enable-debug - ./configure LDFLAGS="-lasan -lubsan" --prefix=$(pwd)/prefix --disable-qt --with-sanitizer=address,undefined --disable-medialibrary --disable-nls --enable-debug
- make install -j8 - make install -j8
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/prefix/lib/pkgconfig" - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/prefix/lib/pkgconfig"
- cd .. - cd /tmp/ && git clone --single-branch --branch=display_stack_on_timeout --depth=1 https://github.com/chouquette/meson
- meson -Db_sanitize=address,undefined build - export PATH=/tmp/meson:$PATH
- cd build && meson test --no-stdsplit - cd $CI_PROJECT_DIR
- meson compile fast_discover_cancel fast_teardown - meson.py -Db_sanitize=address,undefined build
- cd build && meson.py test --no-stdsplit
- meson.py compile fast_discover_cancel fast_teardown
- ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples - ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples
- ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples - ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples
artifacts: artifacts:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment