[PATCH RESEND 0/3] kunit: Init and run test suites in the right state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The original order of cases in kunit_module_notify() is confusing and
misleading.

And the best practice is return the err code from
MODULE_STATE_COMING func.

And the test suits should be executed when notify MODULE_STATE_LIVE.

Jinjie Ruan (3):
  kunit: Make the cases sequence more reasonable for
    kunit_module_notify()
  kunit: Return error from kunit_module_init()
  kunit: Init and run test suites in the right state

 lib/kunit/test.c | 37 +++++++++++++++++++++++--------------
 1 file changed, 23 insertions(+), 14 deletions(-)

-- 
2.34.1




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux