]> code.ossystems Code Review - openembedded-core.git/commit
mdadm: improve the run-ptest
authorMingli Yu <Mingli.Yu@windriver.com>
Fri, 23 Nov 2018 06:58:49 +0000 (22:58 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Nov 2018 23:39:31 +0000 (23:39 +0000)
commit80d17497b719efb2ca9f36b8a730815547e93aa7
tree24b943d147997718c7dd4877c1ee8121a2f54191
parent04469ab5b7f0446404b4cb55a15595678581ab26
mdadm: improve the run-ptest

* There are 120+ cases under ${libdir}/mdadm/ptest/tests,
  but the test will break if one test fails as
  below logic in run-ptest.
  ./test &>./test.log

  That's to say, the tests after the failed test
  have no chance to run with the current logic.

  To guarantee all the tests can run even one
  of the tests fails, the option --keep-going
  should be added.

* Refactor the test report to make the report
  more detailed and more common

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/mdadm/files/run-ptest