diff options
author | Petri Latvala <petri.latvala@intel.com> | 2017-03-21 14:07:15 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2017-03-31 12:34:32 +0300 |
commit | 9f92893b11e83ed9ec71c3084ccb57f74b18705e (patch) | |
tree | bba8a9ca4a99c181476851a776d1d8dfb5276e28 /tests | |
parent | 3174974759f5f1d6e2877181c117790ee4dbd68d (diff) |
lib/igt_kmod: Don't call igt_assert or igt_require without a fixture
If kmod_module_new_from_name fails, igt_kselftest ends up calling
igt_skip (through igt_require) when not in a fixture. Instead return
normally from igt_kselftest, matching behaviour when the module
loading is successful but it doesn't contain selftests.
Also change one igt_assert to a return for the same reason.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
CC: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions