chore: import upstream snapshot with attribution
FreeBSD Smoke / FreeBSD Smoke (x86_64) (push) Has been cancelled
CI / Quality Guardrails (push) Has been cancelled
CI / Build & Test (macos-latest) (push) Has been cancelled
CI / Build & Test (ubuntu-latest) (push) Has been cancelled
CI / Build & Test (windows-latest) (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / PowerShell Syntax (push) Has been cancelled
CI / Windows Cross-Target Check (Linux) (push) Has been cancelled
FreeBSD Smoke / FreeBSD Smoke (x86_64) (push) Has been cancelled
CI / Quality Guardrails (push) Has been cancelled
CI / Build & Test (macos-latest) (push) Has been cancelled
CI / Build & Test (ubuntu-latest) (push) Has been cancelled
CI / Build & Test (windows-latest) (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / PowerShell Syntax (push) Has been cancelled
CI / Windows Cross-Target Check (Linux) (push) Has been cancelled
This commit is contained in:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
repo_root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
|
||||
cargo_exec="$repo_root/scripts/cargo_exec.sh"
|
||||
|
||||
run_cargo() {
|
||||
(cd "$repo_root" && "$cargo_exec" "$@")
|
||||
}
|
||||
|
||||
echo "=== Fast test loop (lib + bins) ==="
|
||||
run_cargo test --lib --bins "$@"
|
||||
|
||||
echo ""
|
||||
if [[ -x "$repo_root/target/release/jcode" ]]; then
|
||||
echo "=== Startup regression check (release binary) ==="
|
||||
"$repo_root/scripts/check_startup_budget.sh" "$repo_root/target/release/jcode"
|
||||
echo ""
|
||||
else
|
||||
echo "Skipping startup regression check: build release first with cargo build --release"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
echo "For full coverage, run: scripts/test_e2e.sh"
|
||||
Reference in New Issue
Block a user