From 705c98d47937d603e3ad569cc2ade12fa1df3677 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 26 Jul 2026 22:13:52 +0200 Subject: build: add tsan build --- CMakePresets.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'CMakePresets.json') diff --git a/CMakePresets.json b/CMakePresets.json index 0e70d1a9..1d75402d 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -25,6 +25,15 @@ "name": "bht", "inherits": "base", "description": "Build-host Testing" + }, + { + "name": "bht-tsan", + "inherits": "bht", + "description": "Build-host Testing with ThreadSanitizer", + "cacheVariables": { + "TEACHOS_ENABLE_TEST_SANITIZERS": false, + "TEACHOS_ENABLE_TEST_TSAN": true + } } ], "buildPresets": [ @@ -42,6 +51,11 @@ "name": "bht-dbg", "configurePreset": "bht", "configuration": "Debug" + }, + { + "name": "bht-tsan-dbg", + "configurePreset": "bht-tsan", + "configuration": "Debug" } ], "testPresets": [ @@ -54,6 +68,16 @@ "execution": { "jobs": 0 } + }, + { + "name": "bht-tsan-dbg", + "configurePreset": "bht-tsan", + "output": { + "outputOnFailure": true + }, + "execution": { + "jobs": 1 + } } ] } \ No newline at end of file -- cgit v1.2.3