Sync upstream through d3b5df3f

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-25 15:38:44 +04:00
parent 1ffc2e9072
commit 454893ecd7
923 changed files with 180934 additions and 35014 deletions
+10 -3
View File
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
# The in-loop verify: fmt everywhere, clippy and test on the changed crates and their dependents.
# Each scoped suite runs once; the second pass without the install (`test-no-install`) is the
# land's alone, in scripts/gates.sh. A change reaching `benilla-app` also runs the player build's
# schedule-shape tests, the part of the land's `player-tests` a dev-build round cannot see.
#
# The change set is the fork point against main plus staged, unstaged and untracked files. A path
# under crates/<dir>/ scopes that package, docs/ and *.md scope nothing, and any other path runs
@@ -118,9 +121,13 @@ case " $pkgs " in *" benilla-app "* | *" benilla "*)
esac
# Every test binary runs whatever another fails (`scripts/unit-tests.sh`), and the doctests after.
run test env BENILLA_SKIP_LOG="$skips" "$root/scripts/unit-tests.sh" $pflags
# The gates' test-no-install, scoped: a test that reads the install without `wow_data_or_skip!`
# fails here, not at the land. `WOW_DATA=` builds nothing new, so the binaries above are reused.
run test-no-install env -u BENILLA_REQUIRE_DATA WOW_DATA= "$root/scripts/unit-tests.sh" $pflags
# The player build's schedule, whose systems differ from the dev set's, checked by the tests that
# read its shape alone; the land's `player-tests` runs the rest of that build's suite.
case " $pkgs " in *" benilla-app "*)
run player-schedule env BENILLA_SKIP_LOG="$skips" "$root/scripts/unit-tests.sh" \
-p benilla-app --no-default-features --lib -- \
vm_pass:: game_plugins::schedule_tests:: script_calls::tests::every_ lanes::guard_tests:: ;;
esac
# shellcheck disable=SC2086 # one word per package
run doctest "$root/scripts/doc-tests.sh" $pkgs
# Data-gated tests skip without the install or the addon corpus and libtest swallows their line,