Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Kalugin committed Sep 20, 2022
1 parent e16a623 commit 1fe873d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions server/test/framework/BaseTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ void BaseTest::clearEnv(const CompilationUtils::CompilerName& compiler) {

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

fs::path utbotBuildDir = buildPath / CompilationUtils::UTBOT_BUILD_DIR_NAME;
fs::path utbotBuildDir = buildPath / CompilationUtils::UTBOT_FILES_DIR_NAME;
clearDirectory(utbotBuildDir);
fs::create_directories(utbotBuildDir);
}

void BaseTest::clearTestDirectory() {
Expand Down
1 change: 0 additions & 1 deletion server/test/framework/CLI_Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ namespace {
}

TEST_F(CLI_Test, Run_All_Tests) {
clearTestDirectory();
runCommandLine({ "./utbot", "generate", "--project-path", suitePath,
"--build-dir", buildDirectoryName, "project" });
checkTestDirectory(allProjectTestFiles);
Expand Down

0 comments on commit 1fe873d

Please sign in to comment.