mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
ruby: add ptest
(From OE-Core rev: 46f47b700ef7f58c8095db9bd3b4b867a6447360) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
99ec53a051
commit
dcfef9fef0
13
meta/recipes-devtools/ruby/ruby/run-ptest
Normal file
13
meta/recipes-devtools/ruby/ruby/run-ptest
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
test_fullname=`find test -name test_*.rb`
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user