* [PATCH v2] ref-manual: Add documentation for the unimplemented-ptest QA warning
@ 2023-10-04 14:36 Yoann Congal
2023-10-04 17:14 ` [docs] " Michael Opdenacker
0 siblings, 1 reply; 3+ messages in thread
From: Yoann Congal @ 2023-10-04 14:36 UTC (permalink / raw)
To: docs; +Cc: Jérémy Rosen, Yoann Congal
From: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
This is the v2 for the doc of this series:
https://lists.openembedded.org/g/openembedded-core/message/188680
v1->v2:
* Fix shortlog tag
documentation/ref-manual/classes.rst | 3 +++
documentation/ref-manual/qa-checks.rst | 11 +++++++++++
2 files changed, 14 insertions(+)
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 3f0d4844e..3eede8c7b 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -1480,6 +1480,9 @@ Here are the tests you can list with the :term:`WARN_QA` and
also inherits :ref:`ref-classes-features_check` in order for the
requirement to actually work.
+- ``unimplemented-ptest:`` Checks that ptest are implemented for upstream
+ tests.
+
- ``unlisted-pkg-lics:`` Checks that all declared licenses applying
for a package are also declared on the recipe level (i.e. any license
in ``LICENSE:*`` should appear in :term:`LICENSE`).
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst
index 4a02e7206..cc9afeb7c 100644
--- a/documentation/ref-manual/qa-checks.rst
+++ b/documentation/ref-manual/qa-checks.rst
@@ -789,6 +789,17 @@ Errors and Warnings
use a relative path rather than an absolute one, or to pick up the path from
runtime configuration or environment variables.
+.. _qa-check-unimplemented-ptest:
+
+- ``<tool> tests detected [unimpemented-ptest]``
+
+ This check will detect if the source of the package contains some upstream-
+ provided tests and, if such tests are detected, that ptests are implemented
+ for this recipe. see the ":ref:`dev-manual/packages:testing packages with ptest`"
+ section in the Yocto Project Development Tasks Manual. See also the
+ ":ref:`ref-classes-ptest`" section.
+
+
Configuring and Disabling QA Checks
===================================
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [docs] [PATCH v2] ref-manual: Add documentation for the unimplemented-ptest QA warning
2023-10-04 14:36 [PATCH v2] ref-manual: Add documentation for the unimplemented-ptest QA warning Yoann Congal
@ 2023-10-04 17:14 ` Michael Opdenacker
2023-10-06 8:04 ` Yoann Congal
0 siblings, 1 reply; 3+ messages in thread
From: Michael Opdenacker @ 2023-10-04 17:14 UTC (permalink / raw)
To: Yoann Congal; +Cc: Jérémy Rosen, docs
Yoann, Jérémy,
Thanks for the documentation patch!
On 04.10.23 at 16:36, Yoann Congal wrote:
> From: Jérémy Rosen <jeremy.rosen@smile.fr>
>
> Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
> ---
> This is the v2 for the doc of this series:
> https://lists.openembedded.org/g/openembedded-core/message/188680
>
> v1->v2:
> * Fix shortlog tag
>
> documentation/ref-manual/classes.rst | 3 +++
> documentation/ref-manual/qa-checks.rst | 11 +++++++++++
> 2 files changed, 14 insertions(+)
>
> diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
> index 3f0d4844e..3eede8c7b 100644
> --- a/documentation/ref-manual/classes.rst
> +++ b/documentation/ref-manual/classes.rst
> @@ -1480,6 +1480,9 @@ Here are the tests you can list with the :term:`WARN_QA` and
> also inherits :ref:`ref-classes-features_check` in order for the
> requirement to actually work.
>
> +- ``unimplemented-ptest:`` Checks that ptest are implemented for upstream
> + tests.
Shouldn't it be "ptests" instead of "ptest"?
> +
> - ``unlisted-pkg-lics:`` Checks that all declared licenses applying
> for a package are also declared on the recipe level (i.e. any license
> in ``LICENSE:*`` should appear in :term:`LICENSE`).
> diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst
> index 4a02e7206..cc9afeb7c 100644
> --- a/documentation/ref-manual/qa-checks.rst
> +++ b/documentation/ref-manual/qa-checks.rst
> @@ -789,6 +789,17 @@ Errors and Warnings
> use a relative path rather than an absolute one, or to pick up the path from
> runtime configuration or environment variables.
>
> +.. _qa-check-unimplemented-ptest:
> +
> +- ``<tool> tests detected [unimpemented-ptest]``
s/unimpemented/unimplemented/
> +
> + This check will detect if the source of the package contains some upstream-
> + provided tests and, if such tests are detected, that ptests are implemented
s/if such tests are detected/if so/
> + for this recipe. see the ":ref:`dev-manual/packages:testing packages with ptest`"
s/see/See/
Looks good to me otherwise.
Thanks in advance for a quick V3 ;-)
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [docs] [PATCH v2] ref-manual: Add documentation for the unimplemented-ptest QA warning
2023-10-04 17:14 ` [docs] " Michael Opdenacker
@ 2023-10-06 8:04 ` Yoann Congal
0 siblings, 0 replies; 3+ messages in thread
From: Yoann Congal @ 2023-10-06 8:04 UTC (permalink / raw)
To: Michael Opdenacker; +Cc: Jérémy Rosen, docs
On 10/4/23 19:14, Michael Opdenacker wrote:
> Yoann, Jérémy,
Hi,
> Thanks for the documentation patch!
>
> On 04.10.23 at 16:36, Yoann Congal wrote:
>> From: Jérémy Rosen <jeremy.rosen@smile.fr>
>>
>> Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
>> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
>> ---
>> This is the v2 for the doc of this series:
>> https://lists.openembedded.org/g/openembedded-core/message/188680
>>
>> v1->v2:
>> * Fix shortlog tag
>>
>> documentation/ref-manual/classes.rst | 3 +++
>> documentation/ref-manual/qa-checks.rst | 11 +++++++++++
>> 2 files changed, 14 insertions(+)
>>
>> diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
>> index 3f0d4844e..3eede8c7b 100644
>> --- a/documentation/ref-manual/classes.rst
>> +++ b/documentation/ref-manual/classes.rst
>> @@ -1480,6 +1480,9 @@ Here are the tests you can list with the :term:`WARN_QA` and
>> also inherits :ref:`ref-classes-features_check` in order for the
>> requirement to actually work.
>> +- ``unimplemented-ptest:`` Checks that ptest are implemented for upstream
>> + tests.
>
> Shouldn't it be "ptests" instead of "ptest"?
>
>> +
>> - ``unlisted-pkg-lics:`` Checks that all declared licenses applying
>> for a package are also declared on the recipe level (i.e. any license
>> in ``LICENSE:*`` should appear in :term:`LICENSE`).
>> diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst
>> index 4a02e7206..cc9afeb7c 100644
>> --- a/documentation/ref-manual/qa-checks.rst
>> +++ b/documentation/ref-manual/qa-checks.rst
>> @@ -789,6 +789,17 @@ Errors and Warnings
>> use a relative path rather than an absolute one, or to pick up the path from
>> runtime configuration or environment variables.
>> +.. _qa-check-unimplemented-ptest:
>> +
>> +- ``<tool> tests detected [unimpemented-ptest]``
>
> s/unimpemented/unimplemented/
>
>> +
>> + This check will detect if the source of the package contains some upstream-
>> + provided tests and, if such tests are detected, that ptests are implemented
> s/if such tests are detected/if so/
>> + for this recipe. see the ":ref:`dev-manual/packages:testing packages with ptest`"
>
>
> s/see/See/
Thanks! We took all of these.
> Looks good to me otherwise.
> Thanks in advance for a quick V3 ;-)
We'll send a v3 once we fix the "code part" of the series.
> Cheers
> Michael.
Regards,
--
Yoann Congal
Smile ECS - Tech Expert
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-06 8:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 14:36 [PATCH v2] ref-manual: Add documentation for the unimplemented-ptest QA warning Yoann Congal
2023-10-04 17:14 ` [docs] " Michael Opdenacker
2023-10-06 8:04 ` Yoann Congal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.