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
+5 -1
+5 -1
View File
@@ -67,7 +67,10 @@ else
echo "No changes from clang-tidy" echo "No changes from clang-tidy"
fi fi
# Attempt to run strix to produce tests (best-effort) # 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
if python3 -m strix --help >/dev/null 2>&1; then if python3 -m strix --help >/dev/null 2>&1; then
echo "Running strix to generate tests (best-effort)" echo "Running strix to generate tests (best-effort)"
# Example invocation: strix --target <binary> --out tests/ # Example invocation: strix --target <binary> --out tests/
@@ -77,5 +80,6 @@ if python3 -m strix --help >/dev/null 2>&1; then
else else
echo "strix not available; skipping test generation" echo "strix not available; skipping test generation"
fi fi
fi
echo "Automated migration script finished. Review git status and run full builds." echo "Automated migration script finished. Review git status and run full builds."