numactl: fix the ptest

1. one test case is not installed
2. install a copy of numactl into ptest dir, since the test
script is using the relative path to run numactl

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Roy.Li 2014-08-19 14:28:31 +08:00 committed by Martin Jansa
parent 5e1098f2c2
commit 6edd5b3364

View File

@ -33,11 +33,12 @@ do_install_ptest() {
local test_binaries="checkaffinity checktopology distance \
ftok mbind_mig_pages migrate_pages move_pages mynode \
nodemap pagesize prefered printcpu randmap realloc_test \
regress regress2 runltp shmtest tbitmap tshared"
regress regress2 runltp shmtest tbitmap tshared bind_range"
[ ! -d ${D}/${PTEST_PATH}/test ] && mkdir -p ${D}/${PTEST_PATH}/test
for i in $test_binaries; do
install -m 0755 ${B}/test/$i ${D}${PTEST_PATH}/test
done
install -m 0755 ${WORKDIR}/Makefile ${D}${PTEST_PATH}/
install -m 0755 ${B}/numactl ${D}${PTEST_PATH}/
}