mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
fix spelling [skip ci]
This commit is contained in:
parent
706be7397f
commit
a79b33236a
@ -42,7 +42,7 @@ int main(int argc, char** argv)
|
||||
("help,h", "produce usage message")
|
||||
("verbose,v", "verbose output")
|
||||
("overwrite,o", "overwrite reference image")
|
||||
("jobs,j", po::value<std::size_t>()->default_value(1), "number of paralel threads")
|
||||
("jobs,j", po::value<std::size_t>()->default_value(1), "number of parallel threads")
|
||||
("styles-dir", po::value<std::string>()->default_value("test/data-visual/styles"), "directory with styles")
|
||||
("images-dir", po::value<std::string>()->default_value("test/data-visual/images"), "directory with reference images")
|
||||
("output-dir", po::value<std::string>()->default_value("/tmp/mapnik-visual-images"), "directory for output files")
|
||||
|
||||
@ -70,7 +70,7 @@ runner::runner(boost::filesystem::path const & styles_dir,
|
||||
result_list runner::test_all(report_type & report) const
|
||||
{
|
||||
std::vector<std::string> files = mapnik::util::list_directory(styles_dir_.string());
|
||||
return test_paralel(files, report, jobs_);
|
||||
return test_parallel(files, report, jobs_);
|
||||
}
|
||||
|
||||
result_list runner::test(std::vector<std::string> const & style_names, report_type & report) const
|
||||
@ -81,10 +81,10 @@ result_list runner::test(std::vector<std::string> const & style_names, report_ty
|
||||
{
|
||||
return (styles_dir_ / (name + ".xml")).string();
|
||||
});
|
||||
return test_paralel(files, report, jobs_);
|
||||
return test_parallel(files, report, jobs_);
|
||||
}
|
||||
|
||||
result_list runner::test_paralel(std::vector<std::string> const & files, report_type & report, std::size_t jobs) const
|
||||
result_list runner::test_parallel(std::vector<std::string> const & files, report_type & report, std::size_t jobs) const
|
||||
{
|
||||
result_list results;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user