gpu test output files moved from cwd to temp folder(cherry picked from commit 49731ad530)

This commit is contained in:
Vladislav Vinogradov 2014-01-31 13:19:15 +04:00 committed by Alexander Smorkalov
parent ca10e5e8ae
commit a7d0448faa

View File

@ -98,7 +98,7 @@ bool TestHaarCascadeLoader::process()
NCV_SET_SKIP_COND(this->allocatorGPU.get()->isCounting());
NCV_SKIP_COND_BEGIN
const std::string testNvbinName = "test.nvbin";
const std::string testNvbinName = cv::tempfile("test.nvbin");
ncvStat = ncvHaarLoadFromFile_host(this->cascadeName, haar, h_HaarStages, h_HaarNodes, h_HaarFeatures);
ncvAssertReturn(ncvStat == NCV_SUCCESS, false);