Report unit test environment variable values as part of output (#789)

이 커밋은 다음에 포함됨:
gilbertlee-amd
2023-06-29 07:13:05 -06:00
커밋한 사람 GitHub
부모 8de3714152
커밋 f7c553edad
3개의 변경된 파일23개의 추가작업 그리고 21개의 파일을 삭제
+3 -2
파일 보기
@@ -10,12 +10,13 @@
int main(int argc, char **argv)
{
::testing::InitGoogleTest(&argc, argv);
RcclUnitTesting::EnvVars::ShowConfig();
RcclUnitTesting::EnvVars ev;
ev.ShowConfig();
int retCode = RUN_ALL_TESTS();
printf("[ INFO ] Total executed cases: %d\n", RcclUnitTesting::TestBed::NumTestsRun());
// Show timing information
RcclUnitTesting::EnvVars ev;
if (ev.showTiming)
{
size_t totalTimeMsec = 0;