diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-11-28 14:04:26 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-11-30 18:01:46 +0100 |
commit | ae7985b498e6c8cc86cca00209532ebbd794f9e8 (patch) | |
tree | 78f9f292d54c8114f79b1a1f9319eb0cfc226220 /coin/instructions | |
parent | 41c5178c646f1eaf97453fb059e7330f89bcef38 (diff) |
Generally disable leak sanitizer in tests
Our tests have the unfortunate tendency to not clean up their resources;
as a consequence the leaksan check creates ton of (non-actionable)
warnings.
Our main focus for now are catching non-leak related issues via ASAN
(e.g. use-after-free).
The special casing for the cmake API tests stays in place in case we
want to re-enable leaksan checks for most tests again.
Task-number: QTQAINFRA-5315
Change-Id: I3e50ebf06ebd373f0ce0a4bb790ec8d38c344515
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'coin/instructions')
-rw-r--r-- | coin/instructions/cmake_run_ctest_enforce_exit_code.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml index a9755d4f00..8a381992fd 100644 --- a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml +++ b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml @@ -31,7 +31,7 @@ instructions: instructions: - type: EnvironmentVariable variableName: ASAN_OPTIONS - variableValue: "malloc_context_size=100" + variableValue: "malloc_context_size=100:detect_leaks=0" - type: EnvironmentVariable # Override qt-testrunner as we don't want to gather test statistics # because many tests FAIL when built with ASAN. |