abstreet/data/regen.sh
Dustin Carlino ac5aa927db Test turn generation via goldenfiles instead. Revert the "import from a
raw string" stuff from the previous commit.

Add tests of a few interesting intersections. The results right now
aren't ideal, but this sets things up for fast iteraton.
2020-10-01 15:34:43 -07:00

21 lines
656 B
Bash
Executable File

#!/bin/bash
set -e
rm -fv data/system/maps/huge_seattle.bin data/input/raw_maps/huge_seattle.bin data/input/seattle/popdat.bin
./import.sh --raw --map --scenario
./import.sh --raw --map --city=berlin
./import.sh --raw --map --city=krakow
./import.sh --raw --map --city=london
./import.sh --raw --map --city=tel_aviv
./import.sh --raw --map --city=xian
cargo run --release --bin game -- --prebake
cargo run --release --bin game -- --smoketest
cargo run --release --bin game -- --check_proposals
# This is cheap enough to do before every single commit, but since we don't
# have presubmit tests, it's fine to just run it here.
cargo run --bin map_tests