#!/bin/bash # Green-light check: re-runs both display regression tests AND the rate-control # drift test, from the Blu-ray. ~2 min. Run from the repo root. Any non-zero # exit means something drifted. set -e cd "$(dirname "$0")/../.." [ -d /media/reala-misaki/BDROM ] || { echo "Blu-ray not mounted. udisksctl loop-setup -r -f DRAGONS_LAIR.iso"; exit 2; } python3 tools/encoder/extract.py 00020 tmp/fr_00020 12 crop mkdir -p tmp/snap_verify tmp/snap256 run() { # run