diff options
| -rw-r--r-- | CMakePresets.json | 63 |
1 files changed, 62 insertions, 1 deletions
diff --git a/CMakePresets.json b/CMakePresets.json index 2c723a13..b26d9576 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -24,7 +24,7 @@ }, { "name": "bht", - "displayName": "Build-host Testing", + "displayName": "Build-host testing", "inherits": "base", "description": "Unit and integration tests w/ UB Sanitizer, Memory Sanitizer, and Leak Sanitizer", "cacheVariables": { @@ -35,6 +35,7 @@ }, { "name": "bht-stress", + "displayName": "Build-host stress testing", "inherits": "bht", "description": "Stress tests w/ Thread Sanitizer", "cacheVariables": { @@ -67,11 +68,25 @@ "configuration": "Debug" }, { + "name": "bht-rel", + "displayName": "Build-host tests (Release)", + "description": "Unit and integration tests", + "configurePreset": "bht", + "configuration": "MinSizeRel" + }, + { "name": "bht-stress-dbg", "displayName": "Build-host stress tests (Debug)", "description": "Stress tests", "configurePreset": "bht-stress", "configuration": "Debug" + }, + { + "name": "bht-stress-rel", + "displayName": "Build-host stress tests (Release)", + "description": "Stress tests", + "configurePreset": "bht-stress", + "configuration": "Debug" } ], "testPresets": [ @@ -89,6 +104,19 @@ } }, { + "name": "bht-rel", + "displayName": "Build-host tests (Release)", + "description": "Unit and integration tests", + "configurePreset": "bht", + "configuration": "MinSizeRel", + "output": { + "outputOnFailure": true + }, + "execution": { + "jobs": 0 + } + }, + { "name": "bht-stress-dbg", "displayName": "Build-host stress tests (Debug)", "description": "Stress tests", @@ -100,6 +128,19 @@ "execution": { "jobs": 0 } + }, + { + "name": "bht-stress-rel", + "displayName": "Build-host stress tests (Release)", + "description": "Stress tests", + "configurePreset": "bht-stress", + "configuration": "MinSizeRel", + "output": { + "outputOnFailure": true + }, + "execution": { + "jobs": 0 + } } ], "workflowPresets": [ @@ -132,6 +173,16 @@ ] }, { + "name": "bht-rel", + "displayName": "Build-host tests (Release)", + "description": "Unit and integration tests", + "steps": [ + { "type": "configure", "name": "bht" }, + { "type": "build", "name": "bht-rel" }, + { "type": "test", "name": "bht-rel" } + ] + }, + { "name": "bht-stress-dbg", "displayName": "Build-host stress tests (Debug)", "description": "Stress tests", @@ -140,6 +191,16 @@ { "type": "build", "name": "bht-stress-dbg" }, { "type": "test", "name": "bht-stress-dbg" } ] + }, + { + "name": "bht-stress-rel", + "displayName": "Build-host stress tests (Release)", + "description": "Stress tests", + "steps": [ + { "type": "configure", "name": "bht-stress" }, + { "type": "build", "name": "bht-stress-rel" }, + { "type": "test", "name": "bht-stress-rel" } + ] } ] }
\ No newline at end of file |
