- libopenpu : validation VIN, modèles JSON (getAvailableUpdate, devices), classification ecuType -> type/guide, sélection des mises à jour - couche Transport abstraite + implémentation libcurl (proxy env, redirections, streaming, timeout d'inactivité) - tolérance au EOF TLS sans close_notify de la passerelle Majestic, limitée aux corps délimités par la fermeture (ni Content-Length ni chunked) - openpu-cli : check / raw-devices / raw-updates - tests doctest (VIN, parsing, classification, client API avec faux transport), fixtures dont une capture réelle anonymisée (NAC wave 2) - qualité : presets CMake (debug, asan, tidy), .clang-tidy, tools/check.sh (tests, ASan/UBSan, valgrind, clang-tidy, cppcheck) - validé contre l'API réelle sur 3 véhicules (NAC w4, RCC, NAC w2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"version": 6,
|
|
"configurePresets": [
|
|
{
|
|
"name": "debug",
|
|
"displayName": "Debug (warnings as errors)",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceParentDir}/build-openpu/${presetName}",
|
|
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "OPENPU_WERROR": "ON" }
|
|
},
|
|
{
|
|
"name": "release",
|
|
"inherits": "debug",
|
|
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo", "OPENPU_WERROR": "OFF" }
|
|
},
|
|
{
|
|
"name": "asan",
|
|
"displayName": "Debug + AddressSanitizer + UBSan",
|
|
"inherits": "debug",
|
|
"cacheVariables": { "OPENPU_SANITIZE": "ON" }
|
|
},
|
|
{
|
|
"name": "tidy",
|
|
"displayName": "Debug + clang-tidy",
|
|
"inherits": "debug",
|
|
"cacheVariables": { "OPENPU_CLANG_TIDY": "ON", "OPENPU_BUILD_TESTS": "OFF" }
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{ "name": "debug", "configurePreset": "debug" },
|
|
{ "name": "release", "configurePreset": "release" },
|
|
{ "name": "asan", "configurePreset": "asan" },
|
|
{ "name": "tidy", "configurePreset": "tidy" }
|
|
],
|
|
"testPresets": [
|
|
{ "name": "debug", "configurePreset": "debug", "output": { "outputOnFailure": true } },
|
|
{ "name": "asan", "configurePreset": "asan", "output": { "outputOnFailure": true } }
|
|
]
|
|
}
|