30 lines
859 B
Bash
Executable File
30 lines
859 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
"$script_dir/test-unit.sh"
|
|
"$script_dir/test-integration.sh"
|
|
"$script_dir/test-e2e.sh"
|
|
|
|
set +e
|
|
"$script_dir/run-visual-check.sh"
|
|
visual_status=$?
|
|
set -e
|
|
case "$visual_status" in
|
|
0)
|
|
echo "verify: unit, integration, E2E, and visual checks passed"
|
|
;;
|
|
2)
|
|
echo "verify: unit, integration, and E2E checks passed; visual check unavailable" >&2
|
|
;;
|
|
*)
|
|
echo "verify: visual check failed after unit, integration, and E2E checks passed" >&2
|
|
exit "$visual_status"
|
|
;;
|
|
esac
|
|
|
|
# This is intentionally strict: a passing executable suite cannot authorize a
|
|
# release while the parity inventory still names a blocked or unowned contract.
|
|
echo "verify: evaluating strict release parity gate"
|
|
exec "$script_dir/run-parity-gauntlet.sh" --matrix-only
|