MCPcopy Create free account
hub / github.com/catboost/catboost / GetWorkPath

Function GetWorkPath

library/cpp/testing/common/env.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47TString GetWorkPath() {
48 TString workPath = NPrivate::GetTestEnv().WorkPath;
49 if (workPath) {
50 return workPath;
51 }
52
53 return NPrivate::GetCwd();
54}
55
56TFsPath GetOutputPath() {
57 return GetWorkPath() + "/testing_out_stuff";

Callers 6

Y_UNIT_TEST_SUITEFunction · 0.85
Y_UNIT_TESTFunction · 0.85
GetOutputPathFunction · 0.85
TESTFunction · 0.85
Y_UNIT_TESTFunction · 0.85
Y_UNIT_TESTFunction · 0.85

Calls 1

GetCwdFunction · 0.85

Tested by

no test coverage detected