aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/run-ptest
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2018-10-16 10:47:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-05 16:02:08 +0000
commit5cabded0895a5634b194ba125d1231b52e09a5e9 (patch)
tree0c30d4efb54e3ab46b877ee23cc60b04c6abff94 /meta/recipes-devtools/perl/perl/run-ptest
parent4aa55a2c338e38816275789ac89cdd617bda9b42 (diff)
downloadopenembedded-core-contrib-5cabded0895a5634b194ba125d1231b52e09a5e9.tar.gz
openembedded-core-contrib-5cabded0895a5634b194ba125d1231b52e09a5e9.tar.bz2
openembedded-core-contrib-5cabded0895a5634b194ba125d1231b52e09a5e9.zip
perl: skip tests that are not useful
Some tests, like the one that compares the hashes for a list of files against those stored in a .dat file, don't make sense for downstream distros packaging perl. Backport a patch from upstream that allows skipping of these tests at runtime. Also remove the local patch trying to keep hashes up-to-date for one of those tests. Fixes [YOCTO #12787] (From OE-Core rev: 557f4618b75b8739a647e46054ab587ae2bbdc25) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Fix up for rocko context] Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl/run-ptest')
-rw-r--r--meta/recipes-devtools/perl/perl/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl/run-ptest b/meta/recipes-devtools/perl/perl/run-ptest
index 1e2dd1b66db..dad4d429160 100644
--- a/meta/recipes-devtools/perl/perl/run-ptest
+++ b/meta/recipes-devtools/perl/perl/run-ptest
@@ -1,2 +1,2 @@
#!/bin/sh
-cd t && ./TEST | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|'
+cd t && PERL_BUILD_PACKAGING=1 ./TEST | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|'