Skip to main content

Crate choir_ci_conform

Crate choir_ci_conform 

Source
Expand description

Runs the D18 executor conformance suite against a helper argv.

choir-ci-local is gated by cargo test, because cargo can build it. The helper the seam exists for cannot be gated that way: a Firecracker or Cloud Hypervisor driver needs KVM, so it lives on a Linux machine and quite possibly in another repository, and a suite that only runs against what this workspace links would let it ship ungated. This binary is the suite with the helper as an argument.

choir-ci-conform [options] -- <helper> [helper args...]

  --subject <hex>          subject for every fixture job, so a helper
                           that materializes the subject is given one
                           it can materialize (default: a blake3 hash
                           of "conform", which suits a helper that
                           ignores the field)
  --shell <path>           what runs the fixture scripts on the far
                           side (default: /bin/sh)
  --deadline-ms <n>        deadline for the jobs that must finish
                           (default: 600000); raise it for a helper
                           that boots a machine per job
  --slow-deadline-ms <n>   deadline for the job that must time out
                           (default: 100)
  --probe-dir <dir>        a directory the far side can see, holding
                           nothing; enables the Job::directory check,
                           which is skipped without it

Exit 0 when every check that ran passed, 1 when any failed, 2 on a usage error. Skipped checks do not fail the run and are printed as what they are: the report says what it could not establish rather than counting it as evidence.

Structsยง

Options ๐Ÿ”’

Constantsยง

MARKER ๐Ÿ”’

Functionsยง

main ๐Ÿ”’
millis ๐Ÿ”’
parse ๐Ÿ”’