mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 17:47:49 +08:00
fxing temp dir on windows
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <rtabmap/core/Parameters.h>
|
||||
#include <rtabmap/utilite/UFile.h>
|
||||
#include <rtabmap/utilite/UConversion.h>
|
||||
#include "TestUtils.h"
|
||||
|
||||
using namespace rtabmap;
|
||||
|
||||
@@ -13,7 +14,7 @@ namespace {
|
||||
std::string uniqueDbPath()
|
||||
{
|
||||
static int counter = 0;
|
||||
return uFormat("/tmp/rtabmap_dbdriversqlite3_test_%d_%d.db", getpid(), ++counter);
|
||||
return test::tempPath(uFormat("rtabmap_dbdriversqlite3_test_%d_%d.db", test::getPid(), ++counter));
|
||||
}
|
||||
|
||||
class DBDriverSqlite3Fixture : public ::testing::Test
|
||||
|
||||
Reference in New Issue
Block a user