carlos / contra Public

Clone
git clone https://amadan.net/carlos/contra

Plain git — no account needed to clone.

Download

Download this file

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