Commit Graph

877 Commits

Author SHA1 Message Date
Dustin Carlino
93dd6b1c17 fix an old path in the map_conversion test 2018-11-27 10:11:10 -08:00
Dustin Carlino
c2783ab56e making a new Position tuple and equiv_dist_along 2018-11-27 09:55:37 -08:00
Dustin Carlino
8509b46b0b print how much time all tests took 2018-11-26 16:12:18 -08:00
Dustin Carlino
f743b8cbaa dont use gedit, since it cant display escape codes 2018-11-26 16:04:15 -08:00
Dustin Carlino
d0beb7f41e simplify get_draw_blah API by just having one call for traversable. simplify inner walking state 2018-11-26 15:53:04 -08:00
Dustin Carlino
cd8d9adec4 radical speedup and simplification to driving state: only store SimQueues for active lanes/turns 2018-11-26 15:40:22 -08:00
Dustin Carlino
cb4c5079a6 woops, forgot to hook up logging in tests 2018-11-26 14:46:27 -08:00
Dustin Carlino
f26de57039 revive the other transit test 2018-11-26 14:36:59 -08:00
Dustin Carlino
118d87fc66 get a transit test passing again, and make debugging bus stops in the UI a little easier 2018-11-26 13:56:35 -08:00
Dustin Carlino
b260de1d50 make test output stuff clickable inside urxvt 2018-11-26 12:27:06 -08:00
Dustin Carlino
5fbd5e1546 when editor_state isn't applicable, focus on bldg 0 instead of centering view 2018-11-26 11:43:53 -08:00
Dustin Carlino
88ad929644 revive the other parking test. add option to always show savestate 2018-11-26 11:31:45 -08:00
Dustin Carlino
56c885e7ab revive the first parking test. make helpers to look up labeled stuff from synthetic maps. make helpers to seed specific parked cars and start certain trips again. 2018-11-26 11:22:17 -08:00
Dustin Carlino
a9ff1906ad label each side of a synthetic road 2018-11-26 09:42:57 -08:00
Dustin Carlino
00e76b388f mousing over different sides of a synthetic road 2018-11-26 09:33:11 -08:00
Dustin Carlino
faee567dc3 draw synthetic stuff highlighted 2018-11-26 09:17:36 -08:00
Dustin Carlino
c46489ca83 naming synthetic buildings 2018-11-26 09:03:38 -08:00
Dustin Carlino
d0b90b9243 also export synthetic maps when saving them 2018-11-26 08:38:16 -08:00
Dustin Carlino
6fbb22d9e4 port over the last two tests, partly 2018-11-25 08:57:33 -08:00
Dustin Carlino
d5ce679b38 cleaning up runner output 2018-11-24 11:43:38 -08:00
Dustin Carlino
fe9f974c73 optionally associate a test with a sim savestate for easy repro / watching in UI 2018-11-24 11:30:43 -08:00
Dustin Carlino
1e62059815 print test results as they happen 2018-11-24 10:29:11 -08:00
Dustin Carlino
d5e0a6fc49 put test results in different directories and remove successful logs 2018-11-24 10:18:04 -08:00
Dustin Carlino
03712f65d5 filter tests by name 2018-11-24 10:09:47 -08:00
Dustin Carlino
cec29beda5 moving two sim tests over to the new runner 2018-11-23 16:11:27 -08:00
Dustin Carlino
878889133a running just fast/slow tests in runner, and making the helper script
invoke the new runner
2018-11-23 15:53:28 -08:00
Dustin Carlino
ff0e921c15 grouping tests with suite name 2018-11-23 15:19:51 -08:00
Dustin Carlino
5de255b55b printing test progress live, timing things 2018-11-23 15:14:27 -08:00
Dustin Carlino
e8dc01fd98 moving convert_osm test to new runner 2018-11-23 15:07:08 -08:00
Dustin Carlino
9f0b2ea756 more test runner niceness: color 2018-11-23 15:01:24 -08:00
Dustin Carlino
fcf7ea161c prototyping a better rust test runner that captures output in files
and prints results nicely
2018-11-23 14:51:14 -08:00
Dustin Carlino
c3ec2c9dd9 make some logs show up more noticeably 2018-11-23 11:09:36 -08:00
Dustin Carlino
2e8cd7ff7a dont spawn bikes on highway border nodes 2018-11-23 11:03:45 -08:00
Dustin Carlino
1ce55ada04 make time travel plugin handle loading savestates 2018-11-23 10:48:29 -08:00
Dustin Carlino
9368c42c6e improve error message for cars too close, and add error dumping to headless 2018-11-23 10:03:33 -08:00
Dustin Carlino
b55d609c37 fix a bug where car drives from border to a parking spot 2018-11-23 09:02:09 -08:00
Dustin Carlino
e6b1188874 add some debugging to kinematics and... seemingly solve the
stop-too-late bug, by arbitrarily increasing the time allowed for a
stop.
2018-11-22 19:53:08 -08:00
Dustin Carlino
e9ed1b0c86 make time travel plugin handle savestates 2018-11-22 17:44:51 -08:00
Dustin Carlino
1fd6c17ff5 get rid of the output param primary_plugins hack 2018-11-22 15:57:37 -08:00
Dustin Carlino
541a7bc22f make simctrl a normal plugin, finally 2018-11-22 15:48:24 -08:00
Dustin Carlino
c808d60fd5 woops, can't just scrape active agents 2018-11-22 14:57:57 -08:00
Dustin Carlino
b2c976b439 make Sim or TimeTravel be able to serve up Draw agents 2018-11-22 14:46:28 -08:00
Dustin Carlino
ced04798b4 basic controls for time travel, showing state in OSD 2018-11-22 11:53:35 -08:00
Dustin Carlino
29e1f3f6c0 starting a plugin to scrape agents... 2018-11-22 11:38:00 -08:00
Dustin Carlino
5bc9992fc0 using blockface kml in convert_osm to prescribe parking lanes 2018-11-21 22:43:14 -08:00
Dustin Carlino
9e91332b58 matching extra shapes with a particular side of the road 2018-11-21 16:02:08 -08:00
Dustin Carlino
af6ead7d56 refactor sidewalk finder to use FindClosest 2018-11-21 15:48:16 -08:00
Dustin Carlino
bd67d88bab adjust the blockface<->road matching 2018-11-21 15:39:49 -08:00
Dustin Carlino
20b79038f4 dont clone bounds by default 2018-11-21 14:55:26 -08:00
Dustin Carlino
2322b1f83e show road matching extra shape 2018-11-21 14:44:26 -08:00