File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ BOOST_AUTO_TEST_CASE(dummy)
3737 BOOST_CHECK (true );
3838}
3939
40- // BOOST_AUTO_TEST_CASE(test_extract_with_invalid_config)
41- // {
42- // oneapi::tbb::task_scheduler_handle handle{tbb::attach{}};
43- // osrm::ExtractorConfig config;
44- // config.requested_num_threads = std::thread::hardware_concurrency();
45- // BOOST_CHECK_THROW(osrm::extract(config),
46- // std::exception); // including osrm::util::exception, osmium::io_error, etc.
47- // oneapi::tbb::finalize(handle);
48- // }
40+ BOOST_AUTO_TEST_CASE (test_extract_with_invalid_config)
41+ {
42+ oneapi::tbb::task_scheduler_handle handle{tbb::attach{}};
43+ osrm::ExtractorConfig config;
44+ config.requested_num_threads = std::thread::hardware_concurrency ();
45+ BOOST_CHECK_THROW (osrm::extract (config),
46+ std::exception); // including osrm::util::exception, osmium::io_error, etc.
47+ oneapi::tbb::finalize (handle);
48+ }
4949
5050// BOOST_AUTO_TEST_CASE(test_extract_with_valid_config)
5151// {
You can’t perform that action at this time.
0 commit comments