Add ptest for less
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 0 repliesNew
- v32 patches 3 repliesSuperseded
- v22 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 2 replies | Superseded |
Changes in v4 from the cover letter
- add verbose output on failure
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | less: switch to github URImeta/ | +12 | 0 replies | |
| 2/2 | less: add ptest supportmeta/ meta/ meta/ +2 more | +118 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/2] Add ptest for less
Hi all,
This series is adding ptest support for less.
As of today, release tarballs are fetched from
http://www.greenwoodsoftware.com/ but the less test code is not bundled within these releases. A github issue has been opened asking for maintainer to add the test code into it [1].
So before test code gets bundled into the release tarballs, switch to github URI.
Here is the output when running the ptest on the target:
FAIL: chinese1.lt
PASS: colorbars.lt
PASS: github216.lt
PASS: github265.lt
PASS: github329.lt
PASS: hdr-unicode1.lt
PASS: hdr-unicode.lt
PASS: proc-special.lt
PASS: seq200.lt
PASS: table-50x200.lt
FAIL: utf8-2.txt.lt
PASS: version.c.lt
============================================================================
Testsuite summary for less
============================================================================
# TOTAL: 12
# PASS: 10
# FAIL: 2
============================================================================
I am building a core-image-minimal image with poky DISTRO and run it into qemu. I have 2 FAIL. All tests PASS on my computer.
I suspect a locale issue here but I may need some help on this.
EDIT: added locale-base-en-us in v3 to fix these issues
I opened a pull request on less for Makefile modification [2]
And I also opened a github issue [3] to ask a reformating of the less test summary to follow Automake simple test format to simplify the run-ptest script.
My branch is available on poky-contrib repository [4]
[YOCTO #15073]
Best
Julien
[1]: https://github.com/gwsw/less/issues/344
[2]: https://github.com/gwsw/less/pull/398
[3]: https://github.com/gwsw/less/issues/399
[4]: https://git.yoctoproject.org/poky-contrib/log/?h=jstephan/add-ptest-for-less
v1 can be found here: https://lists.openembedded.org/g/openembedded-core/message/183894
v2 can be found here: https://lists.openembedded.org/g/openembedded-core/message/183919
v3 can be found here: https://lists.openembedded.org/g/openembedded-core/message/183931
Changes in v4:
- add verbose output on failure
Changes in v3:
- add locale-base-en-us in RDEPENDS:${PN}-ptest to fix the failing test
Changes in v2:
- split commit in two: one for switching to github and one to add the ptest support
Julien Stephan (2):
less: switch to github URI
less: add ptest support
.../distro/include/ptest-packagelists.inc | 1 + ...akefile-allow-CFLAGS-to-be-overitten.patch | 28 +++++++++++++ ...esstest-Makefile-add-LDFLAGS-support.patch | 41 +++++++++++++++++++ meta/recipes-extended/less/files/run-ptest | 26 ++++++++++++ meta/recipes-extended/less/less_633.bb | 37 ++++++++++++++--- 5 files changed, 128 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-extended/less/files/0001-lesstest-Makefile-allow-CFLAGS-to-be-overitten.patch create mode 100644 meta/recipes-extended/less/files/0002-lesstest-Makefile-add-LDFLAGS-support.patch create mode 100644 meta/recipes-extended/less/files/run-ptest
Signature · 1 line
2.41.0