migration: allow skipping Strix via SKIP_STRIX=1 in automate_migrate_Lts_DDS.sh

This commit is contained in:
torsten committed 2026-07-17 16:57:47 +02:00
1 parent b5c6f9f18b
commit adf548cb06
1 file changed
+12 -8
+12 -8
View File
@@ -67,15 +67,19 @@ else
echo "No changes from clang-tidy"
fi
# Attempt to run strix to produce tests (best-effort)
if python3 -m strix --help >/dev/null 2>&1; then
echo "Running strix to generate tests (best-effort)"
# Example invocation: strix --target <binary> --out tests/
mkdir -p migration/strix-tests
# This is a placeholder; actual strix usage depends on build artifacts and symbols
echo "Stripe test generation placeholder: run strix manually against built binaries."
# Attempt to run strix to produce tests (best-effort). Honor SKIP_STRIX=1 to skip.
if [ "${SKIP_STRIX:-0}" = "1" ]; then
echo "SKIP_STRIX=1 set; skipping strix test generation"
else
echo "strix not available; skipping test generation"
if python3 -m strix --help >/dev/null 2>&1; then
echo "Running strix to generate tests (best-effort)"
# Example invocation: strix --target <binary> --out tests/
mkdir -p migration/strix-tests
# This is a placeholder; actual strix usage depends on build artifacts and symbols
echo "Stripe test generation placeholder: run strix manually against built binaries."
else
echo "strix not available; skipping test generation"
fi
fi
echo "Automated migration script finished. Review git status and run full builds."