]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
ruby: Add init.rb file to PTEST installation path
authorJiaying Song <jiaying.song.cn@windriver.com>
Thu, 31 Oct 2024 07:43:47 +0000 (15:43 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Nov 2024 12:10:07 +0000 (12:10 +0000)
commit4f9fd1255d5a75e3597e6c8ab3fc243b17fca583
tree055a0e49b592b663dfb668ffa9eb1a091d92417e
parent92646b4314054e14c2b57b045f4a5df859b55468
ruby: Add init.rb file to PTEST installation path

This patch copies the init.rb file to the tool testing directory in the
PTEST installation path during installation. This modification can address
the following errors:

BEGIN: /usr/lib64/ruby/ptest
/usr/lib64/ruby/ptest/tool/test/runner.rb:4:in `require_relative': cannot load such file -- /usr/lib64/ruby/ptest/tool/test/init (LoadError)
from /usr/lib64/ruby/ptest/tool/test/runner.rb:4:in `<top (required)>'
from ./test/runner.rb:5:in `require_relative'
from ./test/runner.rb:5:in `<main>'

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/ruby/ruby_3.3.5.bb