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

Method MakeTmpFileNameForForkedTests

library/cpp/testing/unittest/junit.cpp:307–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void TJUnitProcessor::MakeTmpFileNameForForkedTests() {
308 if (GetForkTests() && !GetIsForked()) {
309 TmpReportFile.ConstructInPlace(MakeTempName());
310 // Replace option for child processes
311 SetEnv(Y_UNITTEST_OUTPUT_CMDLINE_OPTION, TStringBuilder() << "json:" << TmpReportFile->Name());
312 }
313}
314
315static TJUnitProcessor* CurrentJUnitProcessor = nullptr;
316

Callers

nothing calls this directly

Calls 4

MakeTempNameFunction · 0.85
SetEnvFunction · 0.85
TStringBuilderClass · 0.50
NameMethod · 0.45

Tested by

no test coverage detected