[OE-core] [yocto][PATCH 1/1] ptest: user-specified run-ptest script location

Ray, Ian (GE Healthcare) ian.ray at ge.com
Wed Sep 30 10:35:01 UTC 2015


> I think that we should modify do_install_ptest_base to run
> do_install_ptest and install the Makefile irrespective of the presence
> of run-ptest file in ${WORKDIR}
> Something like:
> do_install_ptest_base() {
>      if [ -f ${WORKDIR}/run-ptest ]; then
>          install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest
>      fi
>      if grep -q install-ptest: Makefile; then
>          oe_runmake DESTDIR=${D}${PTEST_PATH} install-ptest
>      fi
>      do_install_ptest
> }
> 
> Does this fits with your needs?

That's a good idea!  Yes, that would fit very well indeed.

I submitted a new patch proposal in thread "[PATCH v2 0/1] ptest:
run-ptest not required to run do_install_ptest".

Thank you for your comments,

Ian



More information about the Openembedded-core mailing list