mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-28 09:46:44 +08:00
This commit adds a sanitizer run script, and updates travis to run it in our nightly builds. Valgrind has been very slow and unstable, so much so that we only run it during pre-release tests, and even then it doesn't necissarily provide useful output. The sanitizer tests run about 10x faster, and seem stable. We currently only run ASan and UBSan, as MSan has too many issues within postgres's own initialization functions. As MSan cannot be added to a binary that enables ASan, it would require separate jobs anyway.
656 B
656 B
Suppressions for Clang Sanitizers
This folder contains supression files for running timescale using Clang's AddressSanitizer and UndefinedBehaviorSanitizer, which we use as part of timescale's regission suite. There are a few places OSs have UB and where postgres has benign memory leaks, in order to run these sanitizers, we suppress these warning.
For ease of use, we provide a script in [/scripts/test_sanitizers.sh] to run our regression tests with sanitizers enabled.