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

Function main

library/cpp/svnversion/test/main.cpp:8–31  ·  view source on GitHub ↗

ya make -DFORCE_VCS_INFO_UPDATE --vcs-file= library/cpp/svnversion/test/ ./library/svnversion/test/test[.exe]

Source from the content-addressed store, hash-verified

6// ya make -DFORCE_VCS_INFO_UPDATE --vcs-file=<vcs.json> library/cpp/svnversion/test/
7// ./library/svnversion/test/test[.exe]
8int main() {
9 Cout << "GetProgramSvnVersion(): " << GetProgramSvnVersion() << Endl;
10 Cout << "GetCustomVersion(): " << GetCustomVersion() << Endl;
11 Cout << "GetReleaseVersion(): " << GetReleaseVersion() << Endl;
12 Cout << "PrintProgramSvnVersion(): " << Endl; PrintProgramSvnVersion();
13 Cout << "GetArcadiaSourcePath(): " << GetArcadiaSourcePath() << Endl;
14 Cout << "GetArcadiaSourceUrl(): " << GetArcadiaSourceUrl() << Endl;
15 Cout << "GetArcadiaLastChange(): " << GetArcadiaLastChange() << Endl;
16 Cout << "GetArcadiaLastChangeNum(): " << GetArcadiaLastChangeNum() << Endl;
17 Cout << "GetArcadiaLastAuthor(): " << GetArcadiaLastAuthor() << Endl;
18 Cout << "GetProgramSvnRevision(): " << GetProgramSvnRevision() << Endl;
19 Cout << "GetProgramHash(): " << GetProgramHash() << Endl;
20 Cout << "GetProgramCommitId(): " << GetProgramCommitId() << Endl;
21 Cout << "GetProgramScmData(): " << GetProgramScmData() << Endl;
22 Cout << "GetProgramBuildUser(): " << GetProgramBuildUser() << Endl;
23 Cout << "GetProgramBuildHost(): " << GetProgramBuildHost() << Endl;
24 Cout << "GetProgramBuildDate(): " << GetProgramBuildDate() << Endl;
25 Cout << "GetVCS(): " << GetVCS() << Endl;
26 Cout << "GetBranch(): " << GetBranch() << Endl;
27 Cout << "GetTag(): " << GetTag() << Endl;
28 Cout << "GetArcadiaPatchNumber(): " << GetArcadiaPatchNumber() << Endl;
29 Cout << "GetVCSDirty(): " << GetVCSDirty() << Endl;
30 return 0;
31}
32

Callers

nothing calls this directly

Calls 1

PrintProgramSvnVersionFunction · 0.85

Tested by

no test coverage detected