[igt-dev] [PATCH i-g-t 0/2] Avoid process exit return values in igt_kmod
Anshuman Gupta
anshuman.gupta at intel.com
Thu Feb 17 15:44:32 UTC 2022
Kmod igt library functions like igt_i915_driver_{load, unload}
uses process exit IGT_EXIT_{FAILURE, SKIP, SUCCESS} return values.
Let these function return actual return values
from returned igt_kmod_{load, unload} functions.
Also modify the perf_pmu test to use
__igt_i915_driver_unload() accordingly.
Anshuman Gupta (2):
lib/igt_kmod: Don't use process exit return value
test/perf_pmu: Change module unload assertion
lib/igt_kmod.c | 34 +++++++++++++++++++++-------------
tests/i915/perf_pmu.c | 6 +++---
2 files changed, 24 insertions(+), 16 deletions(-)
--
2.26.2
More information about the igt-dev
mailing list