[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [yocto][PATCH 1/1] ptest: user-specified run-ptest script location
From:       ian.ray () ge ! com (Ray, Ian (GE Healthcare))
Date:       2015-09-30 10:35:01
Message-ID: 30E719D66AEA914CBB7DAB303B1C722D172E6F () BUDURBPA11 ! e2k ! ad ! ge ! com
[Download RAW message or body]

> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic