Summary: | net-misc/ntpsec-1.2.1-r2 does not enable tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jamesb.fe80, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=831352 https://bugs.gentoo.org/show_bug.cgi?id=885879 https://bugs.gentoo.org/show_bug.cgi?id=839597 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 784263 | ||
Attachments: |
build.log
proposed patch to make ntpsec have seperate and verbose test phase proposed patch to make ntpsec only run tests in test phase |
Description
Agostino Sarubbo
![]() Created attachment 715458 [details]
build.log
build log and emerge --info
Huh, I think the tests do run, just not in the 'test' phase. relevant output between lines "execution summary" and "'build' finished successfully (28.583s)". Making a patch to have them also run in 'test' phase would be easier without the bozo bit. probably inject the following after replacing the "\t" with something appropriate. src_test() { \t"${S}"/waf check } Created attachment 720822 [details, diff] proposed patch to make ntpsec have seperate and verbose test phase Signed-off-by: James Browning <jamesb.fe80@gmail.com> Possible to stop it running in _compile? Created attachment 720849 [details, diff] proposed patch to make ntpsec only run tests in test phase I do not think this is a very good idea. Signed-off-by: James Browning <jamesb.fe80@gmail.com> ci has reproduced this issue with version 1.2.1-r1 - Updating summary. ci has reproduced this issue with version 1.2.1-r2 - Updating summary. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c2b340b2370499d0e6230e4f8b50d079a7d096 commit 37c2b340b2370499d0e6230e4f8b50d079a7d096 Author: James Browning <jamesb.fe80@gmail.com> AuthorDate: 2022-04-12 11:52:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-20 01:02:58 +0000 net-misc/ntpsec: Try to only run tests in src_test only Since ./waf test runs all the test, this eliminates the need for the tests useflag which filled that space. Thus it's eliminated. Bug: https://bugs.gentoo.org/795522 Closes: https://bugs.gentoo.org/838109 Signed-off-by: James T Browning <JamesB.fe80@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../ntpsec/files/ntpsec-1.2.1-build-notests.patch | 48 ++++++ .../ntpsec/files/ntpsec-py3-test-clarify.patch | 34 ++++ net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 177 +++++++++++++++++++++ net-misc/ntpsec/ntpsec-9999.ebuild | 17 +- 4 files changed, 272 insertions(+), 4 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd71bea7fbacb805d42a738f8c03de747fd2917 commit acd71bea7fbacb805d42a738f8c03de747fd2917 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-20 01:09:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-20 01:09:06 +0000 net-misc/ntpsec: silence wrong warning about tests We are running them. Closes: https://bugs.gentoo.org/795522 Signed-off-by: Sam James <sam@gentoo.org> net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 5 +++++ net-misc/ntpsec/ntpsec-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c2b340b2370499d0e6230e4f8b50d079a7d096 commit 37c2b340b2370499d0e6230e4f8b50d079a7d096 Author: James Browning <jamesb.fe80@gmail.com> AuthorDate: 2022-04-12 11:52:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-20 01:02:58 +0000 net-misc/ntpsec: Try to only run tests in src_test only Since ./waf test runs all the test, this eliminates the need for the tests useflag which filled that space. Thus it's eliminated. Bug: https://bugs.gentoo.org/795522 Closes: https://bugs.gentoo.org/838109 Signed-off-by: James T Browning <JamesB.fe80@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../ntpsec/files/ntpsec-1.2.1-build-notests.patch | 48 ++++++ .../ntpsec/files/ntpsec-py3-test-clarify.patch | 34 ++++ net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 177 +++++++++++++++++++++ net-misc/ntpsec/ntpsec-9999.ebuild | 17 +- 4 files changed, 272 insertions(+), 4 deletions(-) |