34 lines
1.7 KiB
Bash
Executable File
34 lines
1.7 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
API_URL="${API_URL:-http://127.0.0.1:8080}"
|
|
echo "[run_all] API_URL=${API_URL}"
|
|
|
|
run() {
|
|
local name="$1"
|
|
shift
|
|
echo "[run_all] >>> ${name}"
|
|
"$@"
|
|
echo "[run_all] <<< ${name}: OK"
|
|
}
|
|
|
|
run "api_sanity" env API_URL="${API_URL}" ./tests/api_sanity.sh
|
|
run "transport_packaging_smoke" ./tests/transport_packaging_smoke.sh
|
|
run "transport_packaging_auto_update" ./tests/transport_packaging_auto_update.sh
|
|
run "transport_packaging_policy_rollout" ./tests/transport_packaging_policy_rollout.sh
|
|
run "vpn_locations_swr" env API_URL="${API_URL}" ./tests/vpn_locations_swr.sh
|
|
run "trace_append" env API_URL="${API_URL}" ./tests/trace_append.sh
|
|
run "events_stream" env API_URL="${API_URL}" ./tests/events_stream.py
|
|
run "vpn_login_flow" env API_URL="${API_URL}" ./tests/vpn_login_flow.py
|
|
run "transport_flow" env API_URL="${API_URL}" ./tests/transport_flow_smoke.py
|
|
run "transport_platform_compatibility" env API_URL="${API_URL}" ./tests/transport_platform_compatibility_smoke.py
|
|
run "transport_runbook_cli" env API_URL="${API_URL}" ./tests/transport_runbook_cli_smoke.sh
|
|
run "transport_recovery_runbook" env API_URL="${API_URL}" ./tests/transport_recovery_runbook_smoke.sh
|
|
run "transport_systemd_real_e2e" env API_URL="${API_URL}" ./tests/transport_systemd_real_e2e.py
|
|
run "transport_production_like_e2e" env API_URL="${API_URL}" ./tests/transport_production_like_e2e.py
|
|
run "transport_singbox_e2e" env API_URL="${API_URL}" ./tests/transport_singbox_e2e.py
|
|
run "transport_dnstt_e2e" env API_URL="${API_URL}" ./tests/transport_dnstt_e2e.py
|
|
run "transport_phoenix_e2e" env API_URL="${API_URL}" ./tests/transport_phoenix_e2e.py
|
|
|
|
echo "[run_all] all smoke tests passed"
|