diff --git a/tests/Cargo.toml b/tests/Cargo.toml index e74bbb37ba..55c99f956a 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -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" diff --git a/tests/src/main.rs b/tests/src/main.rs index a52e84001e..d5a3603620 100644 --- a/tests/src/main.rs +++ b/tests/src/main.rs @@ -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"));