#!/bin/bash # Milestone 4 acceptance runs other than the three games (running in reference/m4/dev). cd /data/emu/sega32x-python || exit 1 F=reference/m4/final B=/data/emu/images/x55/bios PY=.venv-pypy/bin/python git rev-parse --short HEAD > $F/at.txt uptime > $F/load-accept-start.txt run() { name=$1; shift; ( s=$(date +%s); nice "$@" > $F/$name.log 2>&1; echo "EXIT $? $(( $(date +%s) - s )) s" >> $F/$name.log ) & } run mars $PY scripts/run_32x.py reference/m3/mars.32x --bios-dir $B --frames 7100 --out $F/mars --on-change 42,194,108,212 --png-every 250 --report-every 50 run testpico $PY scripts/run_32x.py reference/build/testpico/hardware/testpico-30a5783.bin --bios-dir $B --frames 260 --out $F/testpico --save-32x 110,260 --press-reset-at 115 --report-every 10 MD=reference/m3/mdp-44ab15d run lockstep-castlevania $PY -m sega32x_python.harness --megadrive $MD scripts/lockstep_mame.py tests/mame_traces/genesis-castlevania run vdpfifo-genesis $PY -m sega32x_python.harness --megadrive $MD scripts/run_vdpfifotesting.py --machine genesis run sweep $PY -m sega32x_python.harness --megadrive $MD scripts/compat_sweep.py --list tests/mini_sweep.txt --window 12 --jobs 6 --baseline /data/emu/sega32x-python/reference/m1-gate/mini-without.csv --out /data/emu/sega32x-python/$F/mini-with.csv wait uptime > $F/load-accept-end.txt echo ALLDONE > $F/done.txt