#!/usr/bin/env bash # SPDX-License-Identifier: MIT # Rung 4: seeded faults (scripts/seeded_faults.py): pokey-python's 64, each applied to this # crate, and ours for what is Rust-specific; each must fail rung 1, 2 or 3. Writes rung 2's and # rung 3's reference traces first if they are not there. set -euo pipefail source "$(dirname "$0")/env.sh" require_reference REUSE=1 "$ROOT/scripts/rung2.sh" >/dev/null REUSE=1 SKIP_CARGO_TEST=1 "$ROOT/scripts/rung3.sh" >/dev/null timeout 7200 python3 "$ROOT/scripts/seeded_faults.py" --jobs "${FAULT_JOBS:-3}" "$@" && echo "rung 4: PASS" || { echo "rung 4: FAIL"; exit 1; }