Skip to contentSkip to conversation

numactl: fix the ptest

PATCH New [email protected] 1 participant 1 message Aug 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 numactl: fix the ptest

From: "Roy.Li" <[email protected]>

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

---
 meta-oe/recipes-support/numactl/numactl_2.0.9.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/numactl/numactl_2.0.9.bb +2 -1
index bbb3393..651277d 100644
@@ -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}/
 }
Signature · 1 line
1.7.10.4