From 2784b42ca07507b4bb87f1ea0dd2bdeb9c86533e Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 11 Oct 2023 18:03:24 +0200 Subject: [PATCH] Fix the problem with windows path --- Regression_test/RegressionSceneList.inl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Regression_test/RegressionSceneList.inl b/Regression_test/RegressionSceneList.inl index c6c714d..eebdb4a 100644 --- a/Regression_test/RegressionSceneList.inl +++ b/Regression_test/RegressionSceneList.inl @@ -67,24 +67,24 @@ RegressionSceneList::RegressionSceneList() std::vector refFolderVector; //REGRESSION_SCENES_DIR - while ((pos_end = multipleSceneDir.find(':', pos_start)) != std::string::npos) + while ((pos_end = multipleSceneDir.find('|', pos_start)) != std::string::npos) { tempSceneFolder = multipleSceneDir.substr (pos_start, pos_end - pos_start); pos_start = pos_end + 1; sceneFolderVector.push_back(tempSceneFolder); } - if(multipleSceneDir.substr(pos_start,std::string::npos).size()) //get what's after the last ':' if exists + if(multipleSceneDir.substr(pos_start,std::string::npos).size()) //get what's after the last '|' if exists sceneFolderVector.push_back(multipleSceneDir.substr(pos_start,std::string::npos)); //REGRESSION_REFERENCES_DIR pos_start = 0; - while ((pos_end = multipleRefDir.find(':', pos_start)) != std::string::npos) + while ((pos_end = multipleRefDir.find('|', pos_start)) != std::string::npos) { tempRefFolder = multipleRefDir.substr (pos_start, pos_end - pos_start); pos_start = pos_end + 1; refFolderVector.push_back(tempRefFolder); } - if(multipleRefDir.substr(pos_start,std::string::npos).size()) //get what's after the last ':' if exists + if(multipleRefDir.substr(pos_start,std::string::npos).size()) //get what's after the last '|' if exists refFolderVector.push_back(multipleRefDir.substr(pos_start,std::string::npos)); if(sceneFolderVector.size() != refFolderVector.size())