diff options
author | iaz1607 <iaz1607@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
commit | 94e51c602b555459333b3c6ae92476c424c930bc (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /library/cpp | |
parent | e5437feb4ac2d2dc044e1090b9312dde5ef197e0 (diff) | |
download | ydb-94e51c602b555459333b3c6ae92476c424c930bc.tar.gz |
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/testing/common/env.cpp | 28 | ||||
-rw-r--r-- | library/cpp/testing/common/env.h | 2 |
2 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/testing/common/env.cpp b/library/cpp/testing/common/env.cpp index 7f90159785..fa3a47fe16 100644 --- a/library/cpp/testing/common/env.cpp +++ b/library/cpp/testing/common/env.cpp @@ -81,10 +81,10 @@ const TString& GetRamDrivePath() { return NPrivate::GetTestEnv().RamDrivePath; } -const TString& GetYtHddPath() { - return NPrivate::GetTestEnv().YtHddPath; -} - +const TString& GetYtHddPath() { + return NPrivate::GetTestEnv().YtHddPath; +} + const TString& GetOutputRamDrivePath() { return NPrivate::GetTestEnv().TestOutputRamDrivePath; } @@ -159,7 +159,7 @@ namespace NPrivate { BuildRoot = ""; WorkPath = ""; RamDrivePath = ""; - YtHddPath = ""; + YtHddPath = ""; TestOutputRamDrivePath = ""; GdbPath = ""; CoreSearchFile = ""; @@ -197,11 +197,11 @@ namespace NPrivate { RamDrivePath = value->GetStringSafe(""); } - value = context.GetValueByPath("runtime.yt_hdd_path"); - if (value) { - YtHddPath = value->GetStringSafe(""); - } - + value = context.GetValueByPath("runtime.yt_hdd_path"); + if (value) { + YtHddPath = value->GetStringSafe(""); + } + value = context.GetValueByPath("runtime.test_output_ram_drive_path"); if (value) { TestOutputRamDrivePath = value->GetStringSafe(""); @@ -225,10 +225,10 @@ namespace NPrivate { } } - if (!YtHddPath) { - YtHddPath = GetEnv("HDD_PATH"); - } - + if (!YtHddPath) { + YtHddPath = GetEnv("HDD_PATH"); + } + if (!SourceRoot) { SourceRoot = GetEnv("ARCADIA_SOURCE_ROOT"); } diff --git a/library/cpp/testing/common/env.h b/library/cpp/testing/common/env.h index 7e4d418f77..7b89aa1bed 100644 --- a/library/cpp/testing/common/env.h +++ b/library/cpp/testing/common/env.h @@ -71,7 +71,7 @@ namespace NPrivate { TString BuildRoot; TString WorkPath; TString RamDrivePath; - TString YtHddPath; + TString YtHddPath; TString TestOutputRamDrivePath; TString GdbPath; TString CoreSearchFile; |