chore(cpp/scripts): update_goldens.sh y check_tested.sh
- update_goldens.sh: build primitives_gallery + lanza --capture sobre cpp/tests/golden/ con LIBGL_ALWAYS_SOFTWARE=1. - check_tested.sh [days]: CI gate que falla si una funcion C++ creada en los ultimos N dias (default 30) no tiene tested:true en su .md. Hookeado al final de run_tests.sh. No-op si registry.db no existe. Issue 0048.
This commit is contained in:
@@ -5,3 +5,7 @@ ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cmake -S "$ROOT" -B "$ROOT/build" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
|
||||
cmake --build "$ROOT/build" -j"$(nproc)"
|
||||
ctest --test-dir "$ROOT/build" --output-on-failure
|
||||
|
||||
# CI gate (issue 0048): toda funcion C++ creada en los ultimos 30 dias debe
|
||||
# tener tested:true en el .md. No-op si no hay registry.db.
|
||||
"$ROOT/scripts/check_tested.sh" 30
|
||||
|
||||
Reference in New Issue
Block a user