Skip to content
Snippets Groups Projects
Verified Commit c975f332 authored by Alberto Miranda's avatar Alberto Miranda :hotsprings:
Browse files

Configure LSan suppressions for external libraries

parent 6b25a856
No related branches found
No related tags found
1 merge request!28Resolve "Enable ASan build profile in CI"
......@@ -45,6 +45,8 @@ rpc:
stage: test
needs: [build]
script:
- export ASAN_OPTIONS=detect_odr_violation=0
- export LSAN_OPTIONS=verbosity=1:log_threads=1:suppressions=tests/LSanSuppress.supp
- export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:${CI_PROJECT_DIR}/compiled/lib
- compiled/bin/scord -f --force-console &
- build/examples/cxx/ADM_ping ofi+tcp://127.0.0.1:52000
......@@ -56,7 +58,7 @@ unit:
needs: [build]
script:
- export ASAN_OPTIONS=detect_odr_violation=0
- export LSAN_OPTIONS=verbosity=1:log_threads=1
- export LSAN_OPTIONS=verbosity=1:log_threads=1:suppressions=${CI_PROJECT_DIR}/tests/LSanSuppress.supp
- export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:${CI_PROJECT_DIR}/compiled/lib
- cd build/tests
- ctest -j$(nproc) --output-junit report.xml
......
leak:__margo_handle_cache
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment