diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/run-ptest')
-rwxr-xr-x | meta/recipes-devtools/valgrind/valgrind/run-ptest | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/run-ptest b/meta/recipes-devtools/valgrind/valgrind/run-ptest index 5b3ad2a2ed..97b0a85dbf 100755 --- a/meta/recipes-devtools/valgrind/valgrind/run-ptest +++ b/meta/recipes-devtools/valgrind/valgrind/run-ptest | |||
@@ -17,6 +17,14 @@ EXP_TOOLS="exp-bbv exp-dhat exp-sgcheck" | |||
17 | GDB_BIN=@bindir@/gdb | 17 | GDB_BIN=@bindir@/gdb |
18 | cd ${VALGRIND_LIB}/ptest && ./gdbserver_tests/make_local_links ${GDB_BIN} | 18 | cd ${VALGRIND_LIB}/ptest && ./gdbserver_tests/make_local_links ${GDB_BIN} |
19 | 19 | ||
20 | arch=`arch` | ||
21 | if [ "$arch" = "aarch64" ]; then | ||
22 | echo "Aarch64: Hide valgrind tests that result in defunct process and then out of memory" | ||
23 | for i in `cat remove-for-aarch64`; do | ||
24 | mv $i.vgtest $i.IGNORE; | ||
25 | done | ||
26 | fi | ||
27 | |||
20 | cd ${VALGRIND_LIB}/ptest && ./tests/vg_regtest \ | 28 | cd ${VALGRIND_LIB}/ptest && ./tests/vg_regtest \ |
21 | --valgrind=${VALGRIND_BIN} \ | 29 | --valgrind=${VALGRIND_BIN} \ |
22 | --valgrind-lib=${VALGRIND_LIB} \ | 30 | --valgrind-lib=${VALGRIND_LIB} \ |
@@ -29,6 +37,14 @@ cd ${VALGRIND_LIB}/ptest && \ | |||
29 | gdbserver_tests ${TOOLS} ${EXP_TOOLS} \ | 37 | gdbserver_tests ${TOOLS} ${EXP_TOOLS} \ |
30 | 2>&1|tee -a ${LOG} | 38 | 2>&1|tee -a ${LOG} |
31 | 39 | ||
40 | if [ "$arch" = "aarch64" ]; then | ||
41 | echo "Aarch64: Restore valgrind tests that result in defunct process and then out of memory" | ||
42 | for i in `cat remove-for-aarch64`; do | ||
43 | mv $i.IGNORE $i.vgtest; | ||
44 | done | ||
45 | fi | ||
46 | |||
47 | |||
32 | passed=`grep PASS: ${LOG}|wc -l` | 48 | passed=`grep PASS: ${LOG}|wc -l` |
33 | failed=`grep FAIL: ${LOG}|wc -l` | 49 | failed=`grep FAIL: ${LOG}|wc -l` |
34 | skipped=`grep SKIP: ${LOG}|wc -l` | 50 | skipped=`grep SKIP: ${LOG}|wc -l` |