#!/usr/bin/env bash # SPDX-License-Identifier: MIT # Rung 5: the seeded faults (scripts/seeded_faults.py): ay8910-python's 61 of # scripts/mutation.py and six of this crate's own, each broken in a copy of the crate; each # must fail rung 1, 2, 3 or 4. Writes rungs 2's and 3's reference traces first if they are # not there. Slow (every copy builds its own target). set -euo pipefail ROOT=$(cd "$(dirname "$0")/.." && pwd) REUSE=1 "$ROOT/scripts/rung2.sh" >/dev/null REUSE=1 "$ROOT/scripts/rung3.sh" >/dev/null nice python3 "$ROOT/scripts/seeded_faults.py" --jobs "${JOBS:-4}" "$@" && echo "rung 5: PASS" || { echo "rung 5: FAIL"; exit 1; }