diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-02-28 16:37:02 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-02 14:15:33 +0000 |
| commit | 6d0c0d74422816c28e1d3985e7d9d533272fe0a2 (patch) | |
| tree | c4e7414acf45c969422ba89e1ff3cba45bcc06d8 | |
| parent | 4d1f48f6d90734a99a52996f53f429f1380d3e71 (diff) | |
| download | poky-6d0c0d74422816c28e1d3985e7d9d533272fe0a2.tar.gz | |
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-ptest | 2 |
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 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | for case in `find t -type f -name '*.t'`; do | 3 | for case in `find t -type f -name '*.t'`; do |
| 4 | perl $case >$case.output 2>&1 | 4 | perl -I . $case >$case.output 2>&1 |
| 5 | ret=$? | 5 | ret=$? |
| 6 | cat $case.output | 6 | cat $case.output |
| 7 | if [ $ret -ne 0 ]; then | 7 | if [ $ret -ne 0 ]; then |
