]> code.ossystems Code Review - openembedded-core.git/commit
perl: add sub-package perl-tests
authorKang Kai <kai.kang@windriver.com>
Tue, 18 Dec 2012 10:16:28 +0000 (18:16 +0800)
committerSaul Wold <sgw@linux.intel.com>
Sat, 5 Jan 2013 06:01:20 +0000 (22:01 -0800)
commit96fb96ddd00881947875518df832fa74faec8a45
treec01e5c2bc26fc307c2d236f2b7a7d70de8d79509
parentc76ae248334606d10ab730b1b2e9f626ff3c5809
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]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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