]> code.ossystems Code Review - openembedded-core.git/commit
e2fsprogs: modify ptest script
authorJuro Bystricky <juro.bystricky@intel.com>
Fri, 6 Oct 2017 23:30:46 +0000 (16:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Oct 2017 23:12:40 +0000 (00:12 +0100)
commita218b85dba1a481901548f7414676c0ae6f43316
tree90b141521442077e22a0aa09268af580012f98ad
parentb3f3078fd4349fdf6986dd57e4b04bce03630924
e2fsprogs: modify ptest script

e2fsprog testsuite used to log results into its own log file into
/usr/lib/e2fsprogs/ptest/test.log. Therefore console output was not available and
redirecting ptest-runner output into a log file would not capture output of any
individual tests. So overall the whole e2fsprogs testsuite consisting of about
300 tests was evaluated as a single test.

This patch ensures the e2fsprogs test_script output is not automatically redirected
while executing during run-ptest. Any redirection is up to the user.
Additionally, the results of tests are prefixed by more canonical "PASS:" FAIL:"
based on the actual test results.

Aditionally, remove various files created by the testsuite.

[YOCTO #12146]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest