Skip to content

Commit 1fe873d

Browse files
author
Vladislav Kalugin
committed
Fix tests
1 parent e16a623 commit 1fe873d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

server/test/framework/BaseTest.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ void BaseTest::clearEnv(const CompilationUtils::CompilerName& compiler) {
3737

3838
ServerUtils::setThreadOptions(ctx.get(), TESTMODE);
3939

40-
fs::path utbotBuildDir = buildPath / CompilationUtils::UTBOT_BUILD_DIR_NAME;
40+
fs::path utbotBuildDir = buildPath / CompilationUtils::UTBOT_FILES_DIR_NAME;
4141
clearDirectory(utbotBuildDir);
42-
fs::create_directories(utbotBuildDir);
4342
}
4443

4544
void BaseTest::clearTestDirectory() {

server/test/framework/CLI_Tests.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ namespace {
225225
}
226226

227227
TEST_F(CLI_Test, Run_All_Tests) {
228-
clearTestDirectory();
229228
runCommandLine({ "./utbot", "generate", "--project-path", suitePath,
230229
"--build-dir", buildDirectoryName, "project" });
231230
checkTestDirectory(allProjectTestFiles);

0 commit comments

Comments
 (0)