mirror of
https://git.yoctoproject.org/poky
synced 2026-08-05 16:17:45 +02:00
- Skip the test_rm_r_no_permissions test under the root user, as deletion always succeeds. - Filter out tests under the -ext- directory in run-ptest. Due to the commit [1],the packaging of .so test files under the .ext directory was removed. As a result, adjust the test filtering rules to avoid test failures caused by missing files. - Add installation of rdoc.rb and did_you_mean.rb files in do_install_ptest to ensure complete test dependencies. [1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/ruby?id=4d4485442830bb52b152f0419f4ff9f1d581d46a (From OE-Core rev: a581617945848e5970859510e6fb8e4ccdb26f95) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
253 B
253 B
#!/bin/sh
test_fullname=$(find test -name test_*.rb | grep -v '/-ext-/')
for i in ${test_fullname}; do
ruby ./test/runner.rb ${i} 2>&1 > /dev/null
ret=$?
if [ $ret != 0 ]; then
echo "FAIL: ${i}"
else
echo "PASS: ${i}"
fi
done