#!/bin/sh # Visual regression harness: re-render all 547 widget examples under Xvfb, # diff each screenshot against its golden with ImageMagick RMSE, write a # per-widget PASS/FAIL report. One command: # tools/visreg/run.sh [--diff-only] [--threshold PCT] [--workers N] [--update-goldens] # Report lands in tools/visreg/out/report.md (and report.json). # Exit code 0 = all pass, 1 = failures (or bad usage). set -e cd "$(dirname "$0")/../.." exec python3 tools/visreg/visreg.py "$@"