diff options
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/run-ptest')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby/run-ptest | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/run-ptest b/meta/recipes-devtools/ruby/ruby/run-ptest new file mode 100644 index 0000000000..de7c415aba --- /dev/null +++ b/meta/recipes-devtools/ruby/ruby/run-ptest | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | test_fullname=`find test -name test_*.rb` | ||
4 | |||
5 | for i in ${test_fullname}; do | ||
6 | ruby ./test/runner.rb ${i} 2>&1 > /dev/null | ||
7 | ret=$? | ||
8 | if [ $ret != 0 ]; then | ||
9 | echo "FAIL: ${i}" | ||
10 | else | ||
11 | echo "PASS: ${i}" | ||
12 | fi | ||
13 | done | ||