[igt-dev] [PATCH i-g-t v3 00/19] tests/core_hotunplug: Fixes and enhancements

Janusz Krzysztofik janusz.krzysztofik at linux.intel.com
Thu Aug 20 14:51:56 UTC 2020


Clean up the test code, add some new basic subtests, then unblock
unbind test variants.

One patch has been renamed, three new patches added to the series, and
one more patch form a formerly submitted series with new subtests
included.

@Michał: Since most v2/v3 updates are trivial, I've preserved your
v1/v2 Reviewd-by: except for a few patches with non-trivial changes,
where I marked your R-b as v1/v2 applicable.  Please have a look and
confirm if you are still OK with them.

@Tvrtko: Please support my attempt to remove the unbind test variants
from the blocklist.

@Petri, @Martin: Please give me your green lite for merging this
series if you have no objections.

Thanks,
Janusz

Janusz Krzysztofik (19):
  tests/core_hotunplug: Use igt_assert_fd()
  tests/core_hotunplug: Constify dev_bus_addr string
  tests/core_hotunplug: Clean up device open error handling
  tests/core_hotunplug: Consolidate duplicated debug messages # new
  tests/core_hotunplug: Assert successful device filter application
  tests/core_hotunplug: Maintain a single data structure instance
  tests/core_hotunplug: Pass errors via a data structure field
  tests/core_hotunplug: Handle device close errors
  tests/core_hotunplug: Prepare invariant data once per test run
  tests/core_hotunplug: Skip selectively on sysfs close errors
  tests/core_hotunplug: Recover from subtest failures # renamed
  tests/core_hotunplug: Fail subtests on device close errors
  tests/core_hotunplug: Let the driver time out essential sysfs operations # new
  tests/core_hotunplug: Process return values of sysfs operations
  tests/core_hotunplug: Assert expected device presence/absence
  tests/core_hotunplug: Explicitly ignore unused return values
  tests/core_hotunplug: More thorough i915 healthcheck and recovery # new
  tests/core_hotunplug: Add 'lateclose before restore' variants # included
  tests/core_hotunplug: Un-blocklist *bind* subtests

 tests/core_hotunplug.c       | 525 ++++++++++++++++++++++++++---------
 tests/intel-ci/blacklist.txt |   2 +-
 2 files changed, 396 insertions(+), 131 deletions(-)

-- 
2.21.1



More information about the igt-dev mailing list