[PATCH 0/4] kunit: Fix indentation of parameterized tests messages

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

 



The indentation of parameterized tests messages is currently broken in kunit.
Try to fix that by introducing a test level attribute, that will be increased
during nested parameterized tests execution, and use it to generate correct
indent at the runtime when printing message or writing them to the log.

Also improve kunit by providing test plan for the parameterized tests.

Cc: David Gow <davidgow@xxxxxxxxxx>
Cc: Rae Moar <rmoar@xxxxxxxxxx>
    
Michal Wajdeczko (4):
  kunit: Drop redundant text from suite init failure message
  kunit: Fix indentation level of suite messages
  kunit: Fix indentation of parameterized tests messages
  kunit: Prepare test plan for parameterized subtests

 include/kunit/test.h | 25 ++++++++++++--
 lib/kunit/test.c     | 79 +++++++++++++++++++++++---------------------
 2 files changed, 65 insertions(+), 39 deletions(-)

-- 
2.25.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