mirror of
https://github.com/osm2pgsql-dev/osm2pgsql.git
synced 2025-08-19 16:28:16 +00:00
make tests use new dynamic gazetteer style
Includes a test style that mimics previous behaviour, so that test results remain the same.
This commit is contained in:
@ -96,7 +96,7 @@ void test_outputs()
|
||||
throw std::logic_error("Expected a pgsql output");
|
||||
}
|
||||
|
||||
const char* a2[] = {"osm2pgsql", "-O", "gazetteer", "--style", "default.style", "tests/liechtenstein-2013-08-03.osm.pbf"};
|
||||
const char* a2[] = {"osm2pgsql", "-O", "gazetteer", "--style", "tests/gazetteer-test.style", "tests/liechtenstein-2013-08-03.osm.pbf"};
|
||||
options = options_t(len(a2), const_cast<char **>(a2));
|
||||
mid = middle_t::create_middle(options.slim);
|
||||
outs = output_t::create_outputs(mid.get(), options);
|
||||
|
Reference in New Issue
Block a user