[PATCH 0/5] [KMS-Tests] Kernel log validator and Stress testing

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

 



From: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>

Hi Laurent,

Here is an initial run on implementing a log validator for the KMS test suite
along with some cleanup patches and a mode-set stress test.

The log validator is implemented as a decorator to the .execute() function such
that it will be called for every test {suite,class} that is run.

Currently it reports the failure using the last run test description which may
be inaccurate if a test module runs multiple tests in a single class.

The validator performs basic string matching against known kernel failure
points. This could be extended to extract specific log failure sections, but
this is likely not required as the tests already log all kernel messages to
their output log file.

Kieran Bingham (5):
  kmstest: Repair pep8 line formatting
  kmstest: Repeir pep8 whitespace errors
  kmstest: Provide a Kernel log validator
  tests: Test the log validator with fake faults
  tests: Add a CRTC mode set stress test

 tests/kms-test-log-validator.py | 111 ++++++++++++++++++++++++++++++++++++++++
 tests/kms-test-stresstest.py    |  76 +++++++++++++++++++++++++++
 tests/kmstest.py                |  27 ++++++++--
 3 files changed, 211 insertions(+), 3 deletions(-)
 create mode 100755 tests/kms-test-log-validator.py
 create mode 100755 tests/kms-test-stresstest.py

-- 
2.7.4




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

  Powered by Linux