File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -571,14 +571,6 @@ void test_fix_metadata_unsupported_type()
571571 OIIO_CHECK_EQUAL ( spec.find_attribute ( " Make" ), nullptr );
572572}
573573
574- // / Helper function to get the test database path
575- std::string get_test_database_path ()
576- {
577- // Get the current working directory (should be the project root)
578- std::string current_path = std::filesystem::current_path ().string ();
579- return current_path + " /tests/materials/test-database" ;
580- }
581-
582574// / Helper function to set up test environment and capture output for parse_parameters tests
583575struct ParseParametersTestResult
584576{
@@ -603,9 +595,7 @@ ParseParametersTestResult run_parse_parameters_test(
603595 const std::string &database_path = " " )
604596{
605597 // Set up test data path to use the provided database path or default
606- std::string test_data_path =
607- database_path.empty () ? get_test_database_path () : database_path;
608- set_env_var ( " RAWTOACES_DATA_PATH" , test_data_path.c_str () );
598+ set_env_var ( " RAWTOACES_DATA_PATH" , database_path.c_str () );
609599
610600 // Create ImageConverter instance
611601 rta::util::ImageConverter converter;
You can’t perform that action at this time.
0 commit comments