mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
jemalloc: include the missing shell scripts and source the corresponds shell scripts for some test cases.
The test cases in jemalloc require the appropriate value to be exported to MALLOC_CONF, which is stored in shell scripts. The privious script just ran the test cases without exporting value, causing the tests to fail. Include the missing shell scripts, and source them before running the test cases now. Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -42,10 +42,13 @@ do_compile_ptest() {
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
subdirs="test/unit test/integration test/stress "
|
||||
subdirs="unit integration stress "
|
||||
for tooltest in ${subdirs}
|
||||
do
|
||||
cp -r ${B}/${tooltest} ${D}${PTEST_PATH}/tests
|
||||
cp -r ${B}/test/${tooltest} ${D}${PTEST_PATH}/tests
|
||||
if find ${S}/test/${tooltest}/ -name '*.sh' -print -quit | grep -q .; then
|
||||
cp ${S}/test/${tooltest}/*.sh ${D}${PTEST_PATH}/tests/${tooltest}
|
||||
fi
|
||||
done
|
||||
find ${D}${PTEST_PATH}/tests \( -name "*.d" -o -name "*.o" \) -exec rm -f {} \;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user