perl: add sub-package perl-tests
authorKang Kai <kai.kang@windriver.com>
Tue, 18 Dec 2012 10:16:28 +0000 (18:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jan 2013 11:09:36 +0000 (11:09 +0000)
commitbda1322d1bd6da7884ed5e412523dde372f8fcdb
treee2c88f134178113d9eb05f2e84c319ff07a9e121
parent3d9c815a5cdf01aa5583ed36be1142c862b2490b
perl: add sub-package perl-tests

In perl source code, run "make test" will run perl test cases. Put these
cases into a seprated sub-package then we can run the perl test on
target.

Add following module to nonxs_ext to install extra modules that required
by perl test cases:
CPAN/Meta CPAN/Meta/YAML Dumpvalue Env File/CheckTree HTTP/Tiny I18N/Collate
JSON/PP Perl/OSType Version/Requirements

Commands to run test:
cd /opt/perl-tests/t && ./TEST

[Yocto 3296]

(From OE-Core rev: 96fb96ddd00881947875518df832fa74faec8a45)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl-5.14.2/config.sh
meta/recipes-devtools/perl/perl-tests.inc [new file with mode: 0644]
meta/recipes-devtools/perl/perl_5.14.2.bb