mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-25 23:43:25 +03:00
woops, forgot to hook up logging in tests
This commit is contained in:
parent
f26de57039
commit
cb4c5079a6
@ -9,6 +9,7 @@ convert_osm = { path = "../convert_osm" }
|
||||
dimensioned = { git = "https://github.com/paholg/dimensioned", rev = "0e1076ebfa5128d1ee544bdc9754c948987b6fe3", features = ["serde"] }
|
||||
gag = "0.1.10"
|
||||
geom = { path = "../geom" }
|
||||
log = "0.4.5"
|
||||
map_model = { path = "../map_model" }
|
||||
sim = { path = "../sim" }
|
||||
structopt = "0.2"
|
||||
|
@ -3,6 +3,7 @@ extern crate convert_osm;
|
||||
extern crate dimensioned;
|
||||
extern crate gag;
|
||||
extern crate geom;
|
||||
extern crate log;
|
||||
extern crate map_model;
|
||||
extern crate sim;
|
||||
extern crate structopt;
|
||||
@ -18,7 +19,12 @@ mod transit;
|
||||
|
||||
use structopt::StructOpt;
|
||||
|
||||
static LOG_ADAPTER: abstutil::LogAdapter = abstutil::LogAdapter;
|
||||
|
||||
fn main() {
|
||||
log::set_max_level(log::LevelFilter::Debug);
|
||||
log::set_logger(&LOG_ADAPTER).unwrap();
|
||||
|
||||
let mut t = runner::TestRunner::new(runner::Flags::from_args());
|
||||
|
||||
map_conversion::run(t.suite("map_conversion"));
|
||||
|
Loading…
Reference in New Issue
Block a user