mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: unit: required tests system
When running unit testing, we need to ensure that all expected unit tests were actually run. This used to be done by an external Python script, but it is not suitable for some OSes. This patch brings this mechanism into the unit testing framework, and makes use of an INI file to provide the list of expected tests. JIRA NVGPU-3072 Change-Id: I9ed590de9005fe10324c594ea33ebc8fda482019 Signed-off-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2317220 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
b7767a604f
commit
fee7b81061
@@ -53,6 +53,7 @@ struct unit_fw_args {
|
||||
const char *unit_name;
|
||||
const char *unit_load_path;
|
||||
const char *unit_to_run;
|
||||
const char *required_tests_file;
|
||||
};
|
||||
|
||||
int core_parse_args(struct unit_fw *fw, int argc, char **argv);
|
||||
|
||||
Reference in New Issue
Block a user