-
Without root permissions, most IGT tests won't actually run, but they would be displayed at the runner's output as if everything went fine. In order to avoid that, check if one attempts to run IGT without root permission. Such check can be disbled with a new command line option: --allow-non-root As runner_tests runs as non-root, most unit tests need to pass --allow-non-root in order for them to not return an error. Reviewed-by:
Petri Latvala <petri.latvala@intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
Without root permissions, most IGT tests won't actually run, but they would be displayed at the runner's output as if everything went fine. In order to avoid that, check if one attempts to run IGT without root permission. Such check can be disbled with a new command line option: --allow-non-root As runner_tests runs as non-root, most unit tests need to pass --allow-non-root in order for them to not return an error. Reviewed-by:
Petri Latvala <petri.latvala@intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>