diff options
Diffstat (limited to 'meta-oe/recipes-devtools/jemalloc/files')
| -rw-r--r-- | meta-oe/recipes-devtools/jemalloc/files/run-ptest | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/jemalloc/files/run-ptest b/meta-oe/recipes-devtools/jemalloc/files/run-ptest new file mode 100644 index 0000000000..ea9d80cbb6 --- /dev/null +++ b/meta-oe/recipes-devtools/jemalloc/files/run-ptest | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | saved_dir=$PWD | ||
| 4 | for dir in tests/* ; do | ||
| 5 | cd $dir | ||
| 6 | for atest in * ; do | ||
| 7 | if [ \( -x $atest \) -a \( -f $atest \) ] ; then | ||
| 8 | ./$atest > ${atest}.stdout 2> ${atest}.stderr | ||
| 9 | if [ $? = 0 ] ; then | ||
| 10 | echo "PASS: $dir $atest" | ||
| 11 | rm ${atest}.stdout ${atest}.stderr | ||
| 12 | else | ||
| 13 | echo "FAIL: ${dir}/${atest}" | ||
| 14 | fi | ||
| 15 | fi | ||
| 16 | done | ||
| 17 | cd $saved_dir | ||
| 18 | done | ||
| 19 | |||
