mirror of
https://git.yoctoproject.org/poky
synced 2026-07-03 11:37:29 +00:00
844ad4dc30
- 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. - Add init.rb file to PTEST installation path. (From OE-Core rev: fbbfbfd59fe74c6f742af29d32fae1327068b9ff) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
14 lines
253 B
Bash
14 lines
253 B
Bash
#!/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
|