From 2fa0ef191a3e4958ba689ecdc0aabc756385ca13 Mon Sep 17 00:00:00 2001 From: thegeorg Date: Thu, 12 Dec 2024 13:15:03 +0300 Subject: Switch all tests to atd from snapshot commit_hash:a9a7c2df09742a540851227c4fcb7d925edd9793 --- library/cpp/testing/common/env.cpp | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'library/cpp/testing/common/env.cpp') diff --git a/library/cpp/testing/common/env.cpp b/library/cpp/testing/common/env.cpp index 67e081c371c..1440186d789 100644 --- a/library/cpp/testing/common/env.cpp +++ b/library/cpp/testing/common/env.cpp @@ -41,31 +41,7 @@ TString BinaryPath(TStringBuf path) { } TString GetArcadiaTestsData() { - if (GetEnv("USE_ATD_FROM_SNAPSHOT")) { - return ArcadiaSourceRoot() + "/atd_ro_snapshot"; - } - - TString atdRoot = NPrivate::GetTestEnv().ArcadiaTestsDataDir; - if (atdRoot) { - return atdRoot; - } - - TString path = NPrivate::GetCwd(); - const char pathsep = GetDirectorySeparator(); - while (!path.empty()) { - TString dataDir = path + "/arcadia_tests_data"; - if (IsDir(dataDir)) { - return dataDir; - } - - size_t pos = path.find_last_of(pathsep); - if (pos == TString::npos) { - pos = 0; - } - path.erase(pos); - } - - return {}; + return ArcadiaSourceRoot() + "/atd_ro_snapshot"; } TString GetWorkPath() { -- cgit v1.3