#!/usr/bin/env bash # SPDX-License-Identifier: MIT # Rung 6 (this crate's): the bus contract (tests/core_contract.rs, the reference's # tests/test_core_contract.py transcribed: the cycle index and opcode inside callbacks, # P current in a write, the store's dummy read, SLEEP/STOP one idle per step until # reset, the constructed state) and the doc test. set -euo pipefail ROOT=$(cd "$(dirname "$0")/.." && pwd) nice -n 19 cargo test --release -q --manifest-path "$ROOT/Cargo.toml" 2>&1 | grep "test result" | grep -v " 0 passed" echo "rung 6: passed"