Test system included into Android build
This commit is contained in:
@@ -68,9 +68,7 @@ struct TempDirHolder
|
||||
string temp_folder;
|
||||
TempDirHolder()
|
||||
{
|
||||
char* p = tmpnam(0);
|
||||
if(p[0] == '\\') p++;
|
||||
temp_folder = string(p);
|
||||
temp_folder = tempfile();
|
||||
exec_cmd("mkdir " + temp_folder);
|
||||
}
|
||||
~TempDirHolder() { exec_cmd("rm -rf " + temp_folder); }
|
||||
|
Reference in New Issue
Block a user