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

Этот коммит содержится в:
gilbertlee-amd authored and GitHub committed 2023-06-29 07:13:05 -06:00
1 родитель 8de3714152
Коммит f7c553edad
3 files changed
+23 -21

No files matched your search

+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;