mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: unit: add test levels to required test tracking
Add tracking of test levels to the required test mechanism in the unit test framework. The json output will now include the test level. This will allow runs with just level 0 tests to correctly verify the right tests run. JIRA NVGPU-3200 Change-Id: Ifc7c7ad5b605487945e0406d387f54ba04f1680d Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2103515 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> 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>
This commit is contained in:
committed by
mobile promotions
parent
73bd8e4646
commit
bb61fc110b
@@ -131,7 +131,8 @@ static void dump_test_record(FILE *logfile, struct unit_test_record *rec,
|
||||
fprintf(logfile, "\"uid\": \"%s\", ", rec->test->jama.unique_id);
|
||||
fprintf(logfile, "\"vc\": \"%s\", ",
|
||||
rec->test->jama.verification_criteria);
|
||||
fprintf(logfile, "\"req\": \"%s\"", rec->test->jama.requirement);
|
||||
fprintf(logfile, "\"req\": \"%s\", ", rec->test->jama.requirement);
|
||||
fprintf(logfile, "\"test_level\": %d", rec->test->test_lvl);
|
||||
fprintf(logfile, "}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user