mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
The nvtest output required to run as part of the nvgpu_submit framework was being printed per unit test. However, when we run each test in a thread with -j, the nvtest output was mixed among the tests as they finished and the results were not consistent. This patch changes the unit test framework to only output the nvtest start/pass/fail messages for the entire unit test framework run so that the output is consistent. This will allow enabling of threaded runs in GVS. For the NVTEST output, we want to use the binary name, so save that from argv[0] to use later. JIRA NVGPU-1042 Change-Id: I71697e75d4a0bba8c5aa2425bc25de57322826d7 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1924616 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>