From adf548cb0655e9db76c030a495de16ca63366343 Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 17 Jul 2026 16:57:47 +0200 Subject: [PATCH] migration: allow skipping Strix via SKIP_STRIX=1 in automate_migrate_Lts_DDS.sh --- migration/automate_migrate_Lts_DDS.sh | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/migration/automate_migrate_Lts_DDS.sh b/migration/automate_migrate_Lts_DDS.sh index 59a434ae5..4559eda27 100755 --- a/migration/automate_migrate_Lts_DDS.sh +++ b/migration/automate_migrate_Lts_DDS.sh @@ -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 --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 --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."