Bug 3296 - [QA/Test] Add a perl-test recipe to test perl
Summary: [QA/Test] Add a perl-test recipe to test perl
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.4 M1
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard: (D3)(Patch Merged)
Depends on:
Blocks:
 
Reported: 2012-10-18 07:42 UTC by Robert Yang
Modified: 2013-01-14 06:13 UTC (History)
11 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2012-10-18 07:42:55 UTC
Add a perl-test recipe to test perl, it will contain the perl's test cases, these cases are inside perl. it seems that the "make test" will run them, we can extract these cases in a single perl-test package or just let perl recipe generate out a perl-test binary package.
Comment 1 Stoicescu Cornel 2012-10-29 10:41:15 UTC
Can we make this recipe and future similar ones output their results in a test_results folder for easy QA checking? Would be great for qemu and BSP tests. 

Also if this works well, we could make this kind of recipes for rpm, zypper, vnc, gcc, g++ and other such test cases that require simple commands?

Another thing: I talked to my colleagues and as it is some of these tests are done by sanity checks. We could also integrate our test cases with sanity checks?
Comment 2 Björn Stenberg 2012-12-11 12:20:28 UTC
I would like to note that this bug matches very closely the ptest initiative I'm developing.

Description:
https://lists.yoctoproject.org/pipermail/yocto/2012-June/009443.html

Latest patch set:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/032076.html
Comment 3 Kai Kang 2013-01-14 03:27:07 UTC
Yocto commit 61583fe11f2494e37ec0dd6e3bdeadf33f25f199
Comment 4 liang li 2013-01-14 05:17:03 UTC
build qemuarm sato-sdk images, can run following command:
/opt/perl-tests/t/TEST
git info: 66f4c8a674d9f8db958b13866af4d63ab8cbcd44
git branch: poky/master
Comment 5 liang li 2013-01-14 06:13:04 UTC
(In reply to comment #4)
> build qemuarm sato-sdk images, can run following command:
> /opt/perl-tests/t/TEST
command run as "cd /opt/perl-tests/t && ./TEST"