#!/usr/bin/env bash # SPDX-License-Identifier: MIT # Rung 2: every SingleStepTests ARM7TDMI case (all 2,250,000, the excluded ones included) in # lockstep with the reference: each case's bus callbacks, cycles and final state hashed on # both sides (scripts/sst_reference.py --crc, cached per file; arm7-sst --lockstep). set -euo pipefail source "$(dirname "$0")/env.sh" require_reference nice -n 19 cargo build --release -q --manifest-path "$ROOT/Cargo.toml" (cd / && nice -n 19 "$REFERENCE_PYTHON" "$ROOT/scripts/sst_reference.py" "$SST_CORPUS" --crc "$REFCACHE/sst" --jobs "$JOBS" > /dev/null) nice -n 19 "$ROOT/target/release/arm7-sst" "$SST_CORPUS" --lockstep "$REFCACHE/sst" --jobs "$JOBS"