]> code.ossystems Code Review - openembedded-core.git/commitdiff
ptest-perl/run-ptest: address failures caused by perl 5.32.1
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 28 Feb 2021 15:37:02 +0000 (16:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Mar 2021 14:15:27 +0000 (14:15 +0000)
Particulary, . needs to be explicitly specified so that perl
looks there when loading items in 'require'.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/ptest-perl/run-ptest

index c9f9ca94d0afdfac760438c55f2d0af8a85c99e7..fd35357b42bf617be8b44411e174d6cd4e97003b 100644 (file)
@@ -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