[igt-dev] [PATCH i-g-t v2 0/2] Avoid process exit return values in igt_kmod

Anshuman Gupta anshuman.gupta at intel.com
Mon Feb 21 10:24:21 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.

v2:
- Addressed review comment from petri.

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