- resourceFile = getcwd(NULL, 0);
- resourceFile += "/../../resources/";
- std::ifstream my_file(resourceFile);
- if (!my_file.good())
- {
- std::stringstream ss;
- ss << "INTERP_TEST::getResourceFile(): could not open resource test file: " << filename << "\n";
- throw INTERP_KERNEL::Exception(ss.str().c_str());
- }
+ std::stringstream ss;
+ ss << "INTERP_TEST::getResourceFile(): could not open resource test file: " << filename << "\n";
+ throw INTERP_KERNEL::Exception(ss.str().c_str());