#!/bin/sh # One step of CONTRA's CI, run by `amadan runner`. See 10-vet for why each # step is a Makefile target rather than its own copy of the commands. # # The crypto twin: the browser modules against the same golden vectors the Go # suite uses. A HARD gate, and this script does not soften it — `make test-js` # FAILS when node is missing rather than skipping, because a security product # must not quietly stop checking that the browser's crypto matches the # server's. # # `make test-oracles` is deliberately NOT here: this box's python3 is a bare # 3.12.3 with no pip and no ensurepip, so the oracles cannot be installed on # it and a gate that is permanently red teaches people to ignore red. The # Makefile comment on test-oracles has the full reasoning and the one-line # fix that would bring them back. set -eu exec make test-js