fix spelling [skip ci]

This commit is contained in:
Dane Springmeyer 2015-05-11 19:04:23 -07:00
parent 706be7397f
commit a79b33236a
2 changed files with 4 additions and 4 deletions

View file

@ -42,7 +42,7 @@ int main(int argc, char** argv)
("help,h", "produce usage message") ("help,h", "produce usage message")
("verbose,v", "verbose output") ("verbose,v", "verbose output")
("overwrite,o", "overwrite reference image") ("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") ("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") ("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") ("output-dir", po::value<std::string>()->default_value("/tmp/mapnik-visual-images"), "directory for output files")

View file

@ -70,7 +70,7 @@ runner::runner(boost::filesystem::path const & styles_dir,
result_list runner::test_all(report_type & report) const result_list runner::test_all(report_type & report) const
{ {
std::vector<std::string> files = mapnik::util::list_directory(styles_dir_.string()); 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 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 (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; result_list results;