@@ -161,18 +161,16 @@ namespace Paths {
161161 return errFiles;
162162 }
163163
164- fs::path kleeOutDirForFilePath (const utbot::ProjectContext &projectContext, const fs::path &projectTmpPath,
165- const fs::path &filePath) {
166- fs::path kleeOutDir = getKleeOutDir (projectTmpPath);
164+ fs::path kleeOutDirForFilePath (const utbot::ProjectContext &projectContext, const fs::path &filePath) {
165+ fs::path kleeOutDir = getKleeOutDir (projectContext);
167166 fs::path relative = fs::relative (addOrigExtensionAsSuffixAndAddNew (filePath, " " ), projectContext.projectPath );
168167 return kleeOutDir / relative;
169168 }
170169
171170 fs::path kleeOutDirForEntrypoints (const utbot::ProjectContext &projectContext,
172- const fs::path &projectTmpPath,
173171 const fs::path &srcFilePath,
174172 const std::string &methodNameOrEmptyForFolder) {
175- auto kleeOutDirForFile = kleeOutDirForFilePath (projectContext, projectTmpPath, srcFilePath);
173+ auto kleeOutDirForFile = kleeOutDirForFilePath (projectContext, srcFilePath);
176174 std::string suffix = methodNameOrEmptyForFolder.empty ()
177175 ? addOrigExtensionAsSuffixAndAddNew (srcFilePath, " " ).filename ().string ()
178176 : methodNameOrEmptyForFolder;
@@ -218,7 +216,7 @@ namespace Paths {
218216 return getArtifactsRootDir (projectContext) / " tests" ;
219217 }
220218 fs::path getMakefileDir (const utbot::ProjectContext &projectContext, const fs::path &sourceFilePath) {
221- return getPathDirRelativeToTestDir (projectContext, sourceFilePath);
219+ return getPathDirRelativeToTestDir (projectContext, sourceFilePath) / " makefiles " ;
222220 }
223221 fs::path getGeneratedHeaderDir (const utbot::ProjectContext &projectContext, const fs::path &sourceFilePath) {
224222 return getPathDirRelativeToTestDir (projectContext, sourceFilePath);
@@ -229,13 +227,13 @@ namespace Paths {
229227 }
230228
231229 fs::path getRecompiledDir (const utbot::ProjectContext &projectContext) {
232- return getUtbotBuildDir (projectContext) / " recompiled" ;
230+ return getUTBotBuildDir (projectContext) / " recompiled" ;
233231 }
234232 fs::path getTestObjectDir (const utbot::ProjectContext &projectContext) {
235- return getUtbotBuildDir (projectContext) / " test_objects" ;
233+ return getUTBotBuildDir (projectContext) / " test_objects" ;
236234 }
237235 fs::path getCoverageDir (const utbot::ProjectContext &projectContext) {
238- return getUtbotBuildDir (projectContext) / " coverage" ;
236+ return getUTBotBuildDir (projectContext) / " coverage" ;
239237 }
240238 fs::path getClangCoverageDir (const utbot::ProjectContext &projectContext) {
241239 return getCoverageDir (projectContext) / " lcov" ;
@@ -278,15 +276,15 @@ namespace Paths {
278276
279277 fs::path getBuildFilePath (const utbot::ProjectContext &projectContext,
280278 const fs::path &sourceFilePath) {
281- fs::path path = getUtbotBuildDir (projectContext) /
279+ fs::path path = getUTBotBuildDir (projectContext) /
282280 getRelativeDirPath (projectContext, sourceFilePath) /
283281 sourceFilePath.filename ();
284282 return addExtension (path, " .o" );
285283 }
286284
287285 fs::path getStubBuildFilePath (const utbot::ProjectContext &projectContext,
288286 const fs::path &sourceFilePath) {
289- fs::path path = getUtbotBuildDir (projectContext) /
287+ fs::path path = getUTBotBuildDir (projectContext) /
290288 getRelativeDirPath (projectContext, sourceFilePath) /
291289 sourcePathToStubName (sourceFilePath);
292290 return addExtension (path, " .o" );
@@ -410,9 +408,6 @@ namespace Paths {
410408 bool isHeadersEqual (const fs::path &srcPath, const fs::path &headerPath) {
411409 return removeSuffix (srcPath, STUB_SUFFIX).stem () == headerPath.stem ();
412410 }
413- fs::path getUtbotBuildDir (const utbot::ProjectContext &projectContext) {
414- return projectContext.buildDir () / CompilationUtils::UTBOT_BUILD_DIR_NAME;
415- }
416411
417412 // endregion
418413
0 commit comments