]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
logrotate: add ptest support
authorFrank WOLFF <frank.wolff@smile.fr>
Wed, 5 Apr 2023 14:36:04 +0000 (16:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Apr 2023 10:55:40 +0000 (11:55 +0100)
commit0bdfe34c016c8db1f18d76b59a38af280b4c70aa
treef9d037b34de96c92db3f46021de04bd778b49279
parentc589c87a8caef0afbc731c219fe713ba970a2055
logrotate: add ptest support

Below is an extract of the test log:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2023-04-05T12:20
BEGIN: /usr/lib/logrotate/ptest
make  check-TESTS
make[1]: Entering directory '/usr/lib/logrotate/ptest'
make[2]: Entering directory '/usr/lib/logrotate/ptest'
PASS: test-0001.sh
PASS: test-0002.sh
...
...
PASS: test-0107.sh
PASS: test-0108.sh
============================================================================
Testsuite summary for logrotate 3.21.0
============================================================================
 # TOTAL: 102
 # PASS:  97
 # SKIP:  5
 # XFAIL: 0
 # FAIL:  0
 # XPASS: 0
 # ERROR: 0
============================================================================
make[2]: Leaving directory '/usr/lib/logrotate/ptest'
make[1]: Leaving directory '/usr/lib/logrotate/ptest'
DURATION: 353
END: /usr/lib/logrotate/ptest
2023-04-05T12:26
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
Signed-off-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/conf/distro/include/ptest-packagelists.inc
meta/recipes-extended/logrotate/logrotate/run-ptest [new file with mode: 0755]
meta/recipes-extended/logrotate/logrotate_3.21.0.bb