mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Documentation: Update RunningTests to refer to CMakePresets
This commit is contained in:
committed by
Andrew Kaster
parent
1d502dfd7c
commit
4f406b0d1d
@@ -38,6 +38,26 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "default",
|
||||
"configurePreset": "default",
|
||||
"displayName": "Build",
|
||||
"description": "Build the project",
|
||||
"targets": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Sanitizer",
|
||||
"configurePreset": "Sanitizer",
|
||||
"displayName": "Build with Sanitizers",
|
||||
"description": "Build the project with Sanitizers",
|
||||
"targets": [
|
||||
"all"
|
||||
]
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
{
|
||||
"name": "default",
|
||||
@@ -48,12 +68,19 @@
|
||||
"execution": {
|
||||
"noTestsAction": "error",
|
||||
"stopOnFailure": true
|
||||
},
|
||||
"environment": {
|
||||
"LADYBIRD_SOURCE_DIR": "${sourceDir}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Sanitizer",
|
||||
"inherits": "default",
|
||||
"configurePreset": "Sanitizer"
|
||||
"configurePreset": "Sanitizer",
|
||||
"environment": {
|
||||
"ASAN_OPTIONS": "strict_string_checks=1:check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=1:allocator_may_return_null=1",
|
||||
"UBSAN_OPTIONS": "print_stacktrace=1:print_summary=1:halt_on_error=1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user