768c647b46
Import 48 upstream commits since 9a5f2a56 and retain the ruRU localization: Cyrillic names
keep the twelve-letter cap in upstream's reworked name check, the roster keeps its Unicode
name match beside upstream's new tests, and the spell cost cells take upstream's keyed
GlobalStrings templates, which supersede ours. The workspace stays at 0.3.0 (upstream went
back to 0.2.0 until its 0.3.0 ships); cos stays a per-platform VM parity case. Workspace
tests pass on Windows.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
14 lines
694 B
Bash
Executable File
14 lines
694 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# The test gates' runner: the tests of every target the cargo package and target flags it is given
|
|
# select, all run, a failure not stopping the rest. Under cargo-nextest where it is installed, which
|
|
# runs every test binary's tests in one pool (the workspace takes 59 s to `cargo test`'s 103 s on a
|
|
# warm tree, M4 Max); else `cargo test`. nextest runs no doctests: `scripts/doc-tests.sh` does.
|
|
#
|
|
# scripts/unit-tests.sh --workspace
|
|
# scripts/unit-tests.sh -p benilla-app --no-default-features --lib
|
|
set -euo pipefail
|
|
if cargo nextest --version >/dev/null 2>&1; then
|
|
exec cargo nextest run --no-fail-fast --no-tests=pass "$@"
|
|
fi
|
|
exec cargo test --no-fail-fast "$@"
|