summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/jemalloc/files
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-08-11 17:38:41 +0800
committerKhem Raj <raj.khem@gmail.com>2021-08-11 10:23:54 -0700
commit61638bdba3857825d1306caa67ee58b057d3bbdb (patch)
tree46f322757f0acfe371cc8baa0d4da5413f2a0e86 /meta-oe/recipes-devtools/jemalloc/files
parent7a512dfc24256f86669cd2774191bb91a282b380 (diff)
downloadmeta-openembedded-61638bdba3857825d1306caa67ee58b057d3bbdb.tar.gz
jemalloc: add ptest support
Add ptest support. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/jemalloc/files')
-rw-r--r--meta-oe/recipes-devtools/jemalloc/files/run-ptest19
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
3saved_dir=$PWD
4for 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
18done
19