Commit 50dcaffd authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

CI: Reenable tsan nightly test

parent a787103d
Pipeline #184173 failed with stages
in 4 minutes and 59 seconds
......@@ -3,7 +3,7 @@ variables:
MEDIALIBRARY_IMG: registry.videolan.org/medialibrary:20220119101155
MEDIALIBRARY_WIN32_IMG: registry.videolan.org/medialibrary-win32:20220125141704
MEDIALIBRARY_WIN64_IMG: registry.videolan.org/medialibrary-win64:20220125175914
VLC_DEBIAN_UNSTABLE_IMG: registry.videolan.org/vlc-debian-unstable:20210218132922
VLC_DEBIAN_UNSTABLE_IMG: registry.videolan.org/vlc-debian-unstable:20220127080825
MEDIALIBRARY_ALPINE_IMG: registry.videolan.org/medialibrary-alpine:20210902074848
MEDIALIBRARY_ARCH_IMG: registry.videolan.org/medialibrary-archlinux:20220124130611
MEDIALIB_TEST_FOLDER: $CI_PROJECT_DIR/medialib_tests/
......@@ -239,29 +239,30 @@ asan-ubsan:
- $CI_PROJECT_DIR/build/meson-logs/testlog.txt
expire_in: 1 week
#tsan:
# image: $VLC_DEBIAN_UNSTABLE_IMG
# rules:
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
# when: on_success
# - when: never
# tags:
# - docker
# - amd64
# variables:
# TSAN_OPTIONS: 'suppressions=$CI_PROJECT_DIR/ci/tsan_suppress_file'
# script:
# - git clone https://code.videolan.org/videolan/vlc.git --depth=1
# - cd vlc && ./bootstrap
# - ./configure LDFLAGS="-ltsan" --prefix=$(pwd)/prefix --disable-qt --with-sanitizer=thread --disable-medialibrary --disable-nls --enable-debug
# - make install -j8
# - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/prefix/lib/pkgconfig"
# - cd ..
# - meson -Db_sanitize=thread build
# - cd build && meson test --no-stdsplit
# - meson compile fast_discover_cancel fast_teardown
# - ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples
# - ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples
tsan:
image: $VLC_DEBIAN_UNSTABLE_IMG
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $MEDIALIB_MANUAL_JOB_NAME == null'
stage: build
variables:
TSAN_OPTIONS: 'suppressions=$CI_PROJECT_DIR/ci/tsan_suppress_file'
script:
- git clone https://code.videolan.org/videolan/vlc.git --depth=1
- cd vlc && ./bootstrap
- ./configure LDFLAGS="-ltsan" --prefix=$CI_PROJECT_DIR/vlc/prefix --disable-qt --with-sanitizer=thread --disable-medialibrary --disable-nls --enable-debug
- make install -j8
- cd ..
- >
CXX=clang++
meson
-Dpkg_config_path=$PKG_CONFIG_PATH:$CI_PROJECT_DIR/vlc/prefix/lib/pkgconfig
-Db_sanitize=thread
-Db_lundef=false
build
- cd build && meson test --no-stdsplit
- meson compile fast_discover_cancel fast_teardown
- ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples
- ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples
gen-test-db:
image: $MEDIALIBRARY_IMG
......
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