| #!/bin/sh | |
| # More regression tests for libnuma/numa api | |
| VALGRIND=${VALGRIND:-} | |
| testdir=`dirname "$0"` | |
| : ${srcdir:=${testdir}/..} | |
| : ${builddir:=${srcdir}} | |
| export PATH=${builddir}:$PATH | |
| T() { | |
| echo "$@" | |
| if ! $VALGRIND "$@" ; then | |
| echo $1 FAILED!!!! | |
| exit 1 | |
| fi | |
| echo | |
| } | |
| # still broken | |
| #T "${builddir}/test/prefered" | |
| T "${builddir}/test/distance" | |
| T "${builddir}/test/nodemap" | |
| T "${srcdir}/test/checkaffinity" | |
| T "${srcdir}/test/checktopology" | |
| T "${builddir}/test/tbitmap" | |
| T "${srcdir}/test/bind_range" | |
| #T "${builddir}/test/randmap" |