31 #include <sys/types.h>
36 #include <boost/filesystem/operations.hpp>
37 #include <boost/filesystem/path.hpp>
40 boost::filesystem::path path = boost::filesystem::current_path() /
".unittests";
41 if (!boost::filesystem::is_directory(path)) boost::filesystem::create_directory(path);
42 return (path / filename).string();