1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Add makefile target "sdevtest" - like "mdevtest" except asan and usan enabled for the non-debug test.

FossilOrigin-Name: a449d650cd3dcd1baaeb3a3de2aaaac45594397e04f95fe637b0fe4ddb273404
This commit is contained in:
dan
2023-08-22 15:19:50 +00:00
parent 310700228b
commit 44e24e9640
5 changed files with 20 additions and 13 deletions

View File

@ -89,7 +89,8 @@ namespace eval trd {
-DSQLITE_ENABLE_RBU
}
# These two are used by [testrunner.tcl mdevtest].
# These two are used by [testrunner.tcl mdevtest] (All-O0) and
# [testrunner.tcl sdevtest] (All-Sanitize).
#
set build(All-Debug) {
--enable-debug --enable-all
@ -97,6 +98,7 @@ namespace eval trd {
set build(All-O0) {
-O0 --enable-all
}
set build(All-Sanitize) { --enable-all -fsanitize=address,undefined }
set build(Sanitize) {
CC=clang -fsanitize=address,undefined