-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdart_test.yaml
More file actions
31 lines (31 loc) · 1.58 KB
/
Copy pathdart_test.yaml
File metadata and controls
31 lines (31 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Test tag declarations.
#
# `live` marks tests that spawn the real `ping` binary and reach the network.
# They are excluded from the deterministic gate with `dart test -x live` (hosted
# CI runners block unprivileged ICMP) and run on demand with `dart test -t live`
# as a local/manual acceptance path.
#
# `toybox` marks the Android flag-acceptance check, which shells out to an
# installed stock toybox `ping` to prove it accepts every flag dart_ping sends
# on Android (§spec:android-ci-gate). It needs a toybox binary on the host, so
# it is excluded from the normal gate (`dart test -x live -x toybox`) and run in
# the dedicated `android-toybox` CI job (`dart test -t toybox`) that installs
# toybox first. It reaches loopback only to exercise toybox's argument parser —
# no external-network ICMP round trip.
#
# `legacy` marks the sibling flag-acceptance check for the OTHER Android dialect —
# the legacy AOSP `external/ping` / `ping6` (2008-vintage iputils)
# (§spec:android-legacy-ci-gate). It shells out to a real legacy `ping`/`ping6`
# (`LEGACY_PING_BIN`/`LEGACY_PING6_BIN`), so like `toybox` it needs that binary
# on the host: it is excluded from the normal gate (`dart test -x live -x toybox
# -x legacy`) and run in the dedicated `android-legacy` CI job (`dart test -t
# legacy`) that builds the legacy binary first. It reaches loopback only to
# exercise the legacy binary's argument parser — no external-network ICMP round
# trip.
tags:
live:
# Give live tests room for slow DNS / round trips without flaking on the
# default per-test timeout.
timeout: 2x
toybox:
legacy: