aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-02-28 16:37:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-02 14:15:33 +0000
commit6d0c0d74422816c28e1d3985e7d9d533272fe0a2 (patch)
treec4e7414acf45c969422ba89e1ff3cba45bcc06d8
parent4d1f48f6d90734a99a52996f53f429f1380d3e71 (diff)
downloadpoky-6d0c0d74422816c28e1d3985e7d9d533272fe0a2.tar.gz
poky-6d0c0d74422816c28e1d3985e7d9d533272fe0a2.tar.bz2
poky-6d0c0d74422816c28e1d3985e7d9d533272fe0a2.zip
ptest-perl/run-ptest: address failures caused by perl 5.32.1
Particulary, . needs to be explicitly specified so that perl looks there when loading items in 'require'. (From OE-Core rev: 324d74c7e541b44b9c4240056b006f4c59ef34af) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/files/ptest-perl/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/files/ptest-perl/run-ptest b/meta/files/ptest-perl/run-ptest
index c9f9ca94d0..fd35357b42 100644
--- a/meta/files/ptest-perl/run-ptest
+++ b/meta/files/ptest-perl/run-ptest
@@ -1,7 +1,7 @@
#!/bin/sh
for case in `find t -type f -name '*.t'`; do
- perl $case >$case.output 2>&1
+ perl -I . $case >$case.output 2>&1
ret=$?
cat $case.output
if [ $ret -ne 0 ]; then