On Wed, 2019-09-25 at 15:36 +0800, Naveen Saini wrote: > +do_install_ptest () { > + install -d ${D}${PTEST_PATH}/tests > + install -d ${D}${PTEST_PATH}/tests/unittest > + install -m 0755 ${B}/erasure_code/.libs/gf_*_test > ${D}${PTEST_PATH}/tests/unittest/ > + install -d ${D}${PTEST_PATH}/tests/perf > + install -m 0755 ${B}/erasure_code/.libs/erasure_*_perf > ${D}${PTEST_PATH}/tests/perf/ > + install -m 0755 ${B}/erasure_code/.libs/gf_*_perf > ${D}${PTEST_PATH}/tests/perf/ > + install -m 0755 ${B}/erasure_code/.libs/gf_vect_dot_prod_1tbl > ${D}${PTEST_PATH}/tests/perf/ > + install -m 0755 ${B}/crc/.libs/crc*_perf > ${D}${PTEST_PATH}/tests/perf/ > + install -m 0755 ${B}/igzip/.libs/adler32_perf > ${D}${PTEST_PATH}/tests/perf/ > + install -m 0755 ${B}/mem/.libs/mem_zero_detect_perf > ${D}${PTEST_PATH}/tests/perf/ > + install -m 0755 ${B}/raid/.libs/pq_gen_perf > ${D}${PTEST_PATH}/tests/perf/ > + install -m 0755 ${B}/raid/.libs/xor_gen_perf > ${D}${PTEST_PATH}/tests/perf/ > + install -d ${D}${PTEST_PATH}/tests/example > + install -m 0755 ${B}/crc/.libs/crc64_example > ${D}${PTEST_PATH}/tests/example/ > + install -m 0755 ${B}/crc/.libs/crc_simple_test > ${D}${PTEST_PATH}/tests/example/ > + install -m 0755 ${B}/igzip/.libs/igzip*_example > ${D}${PTEST_PATH}/tests/example/ > + install -m 0755 ${B}/raid/.libs/xor_example > ${D}${PTEST_PATH}/tests/example/ > +}
This looks like it can break when new tests are added or something removed/renamed. I think we should add a target to Makefile to collect and install these. gstreamer recipe does that as an example. Thanks, Anuj -- _______________________________________________ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel