* [PATCHv3] ptest-runner_2.0: Add ptest-runner_2.0 recipe.
@ 2016-01-25 23:29 Aníbal Limón
2016-01-26 4:38 ` Robert Yang
0 siblings, 1 reply; 3+ messages in thread
From: Aníbal Limón @ 2016-01-25 23:29 UTC (permalink / raw)
To: openembedded-core
The ptest-runner 2.0 is C written program for run ptests of
Yocto/Openembedded, is fully compatible with previous version of
ptest-runner that was a shell script that runs ptests sequencially.
The mainly reason for the new ptest-runner in C is because is designed
for run in tiny systems also the old shell script version have problems
when certain ptest hang it becomes blocked indefinitely.
Now the ptest-runner 2.0 support the next features:
- Specify the directory for search ptests.
- List available ptests.
- Specify the timeout for avoid blocking indefinetly.
- Only run certain ptests.
Proposed features:
- Adds support for per ptest output file.
- Adds support for run ptests in parallel (review possible
colisions in ptests).
[YOCTO #8021]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
---
.../ptest-runner/ptest-runner_2.0.bb | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.0.bb
diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb
new file mode 100644
index 0000000..221cf6c
--- /dev/null
+++ b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "A C program to run all installed ptests"
+DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \
+program which loops through all installed ptest test suites and \
+runs them in sequence."
+HOMEPAGE = "https://github.com/alimon/ptest-runner2"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
+
+SRCREV = "8bfdf946e784f4d5757bebee1fbc4b4a3d7a95c4"
+PV = "2.0+git${SRCPV}"
+
+SRC_URI = "git://github.com/alimon/ptest-runner2.git;protocol=https"
+S = "${WORKDIR}/git"
+
+FILES_${PN} = "${bindir}/ptest-runner"
+
+do_compile () {
+ oe_runmake
+}
+
+do_install () {
+ install -D -m 0755 ${WORKDIR}/git/ptest-runner ${D}${bindir}/ptest-runner
+}
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCHv3] ptest-runner_2.0: Add ptest-runner_2.0 recipe.
2016-01-25 23:29 [PATCHv3] ptest-runner_2.0: Add ptest-runner_2.0 recipe Aníbal Limón
@ 2016-01-26 4:38 ` Robert Yang
2016-01-26 8:54 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2016-01-26 4:38 UTC (permalink / raw)
To: Aníbal Limón, openembedded-core
On 01/26/2016 07:29 AM, Aníbal Limón wrote:
> The ptest-runner 2.0 is C written program for run ptests of
> Yocto/Openembedded, is fully compatible with previous version of
> ptest-runner that was a shell script that runs ptests sequencially.
If it is fully compatible with 1.0, how about remove 1.0, please ?
// Robert
>
> The mainly reason for the new ptest-runner in C is because is designed
> for run in tiny systems also the old shell script version have problems
> when certain ptest hang it becomes blocked indefinitely.
>
> Now the ptest-runner 2.0 support the next features:
>
> - Specify the directory for search ptests.
> - List available ptests.
> - Specify the timeout for avoid blocking indefinetly.
> - Only run certain ptests.
>
> Proposed features:
>
> - Adds support for per ptest output file.
> - Adds support for run ptests in parallel (review possible
> colisions in ptests).
>
> [YOCTO #8021]
>
> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
> ---
> .../ptest-runner/ptest-runner_2.0.bb | 24 ++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.0.bb
>
> diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb
> new file mode 100644
> index 0000000..221cf6c
> --- /dev/null
> +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb
> @@ -0,0 +1,24 @@
> +SUMMARY = "A C program to run all installed ptests"
> +DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \
> +program which loops through all installed ptest test suites and \
> +runs them in sequence."
> +HOMEPAGE = "https://github.com/alimon/ptest-runner2"
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
> +
> +SRCREV = "8bfdf946e784f4d5757bebee1fbc4b4a3d7a95c4"
> +PV = "2.0+git${SRCPV}"
> +
> +SRC_URI = "git://github.com/alimon/ptest-runner2.git;protocol=https"
> +S = "${WORKDIR}/git"
> +
> +FILES_${PN} = "${bindir}/ptest-runner"
> +
> +do_compile () {
> + oe_runmake
> +}
> +
> +do_install () {
> + install -D -m 0755 ${WORKDIR}/git/ptest-runner ${D}${bindir}/ptest-runner
> +}
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCHv3] ptest-runner_2.0: Add ptest-runner_2.0 recipe.
2016-01-26 4:38 ` Robert Yang
@ 2016-01-26 8:54 ` Burton, Ross
0 siblings, 0 replies; 3+ messages in thread
From: Burton, Ross @ 2016-01-26 8:54 UTC (permalink / raw)
To: Robert Yang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
On 26 January 2016 at 04:38, Robert Yang <liezhi.yang@windriver.com> wrote:
> If it is fully compatible with 1.0, how about remove 1.0, please ?
>
Agreed, I squashed that into the patch when merging it into my staging
branch.
Ross
[-- Attachment #2: Type: text/html, Size: 655 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-26 8:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-25 23:29 [PATCHv3] ptest-runner_2.0: Add ptest-runner_2.0 recipe Aníbal Limón
2016-01-26 4:38 ` Robert Yang
2016-01-26 8:54 ` Burton, Ross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox