aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-07-26 22:13:52 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-07-26 22:13:52 +0200
commit705c98d47937d603e3ad569cc2ade12fa1df3677 (patch)
tree6cd980e01943a87126ec51a248ffc4f03a195e5f /CMakePresets.json
parent4b28e4626e744ac9b779a680f8e9647014956dda (diff)
downloadkernel-705c98d47937d603e3ad569cc2ade12fa1df3677.tar.xz
kernel-705c98d47937d603e3ad569cc2ade12fa1df3677.zip
build: add tsan build
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json24
1 files changed, 24 insertions, 0 deletions
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