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

2015-09-30 Thread Ray, Ian (GE Healthcare)
> 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

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

2015-09-29 Thread Ray, Ian (GE Healthcare)
On 28 September 2015, Tudor Florea wrote: > > On 28 September 2015, Ross Burton wrote: > > > Surely if an upstream is under your control and is ptest-aware, it can > > > also > > > install run-ptest into the right place too? > > The run-ptest script is currently required to be in WORKDIR. >

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

2015-09-29 Thread Richard Purdie
On Tue, 2015-09-29 at 06:59 +, Ray, Ian (GE Healthcare) wrote: > On 28 September 2015, Tudor Florea wrote: > > > On 28 September 2015, Ross Burton wrote: > > > > Surely if an upstream is under your control and is ptest-aware, it can > > > > also > > > > install run-ptest into the right place

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

2015-09-29 Thread Tudor Florea
On 29/09/2015 09:59, Ray, Ian (GE Healthcare) wrote: On 28 September 2015, Tudor Florea wrote: On 28 September 2015, Ross Burton wrote: Surely if an upstream is under your control and is ptest-aware, it can also install run-ptest into the right place too? The run-ptest script is currently

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

2015-09-28 Thread Tudor Florea
On 28.09.2015 18:41, Ray, Ian (GE Healthcare) wrote: Hi Ross On 28 September 2015, Ross Burton wrote: On 28 September 2015 at 15:46, Ray, Ian (GE Healthcare) wrote: The main benefit is for packages that are run-ptest /aware/, in which case the recipe can be simplified.

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

2015-09-28 Thread Ray, Ian (GE Healthcare)
Hi Tudor On 28 September 2015, Tudor Florea wrote: > On 9/21/2015 10:11, Ian Ray wrote: >> Provides a new variable, PTEST_RUN_SCRIPT_PATH, which points to a >> directory where the run-ptest script is located. This location >> defaults to the work directory but may be overridden within a recipe

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

2015-09-28 Thread Ray, Ian (GE Healthcare)
Hi Ross > On 28 September 2015, Ross Burton wrote: >> On 28 September 2015 at 15:46, Ray, Ian (GE Healthcare) >> wrote: >>The main benefit is for packages that are run-ptest /aware/, in which case >> the recipe can be simplified. > Surely if an upstream is under your control

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

2015-09-28 Thread Burton, Ross
On 28 September 2015 at 15:46, Ray, Ian (GE Healthcare) wrote: > The main benefit is for packages that are run-ptest /aware/, in which case > the recipe can be simplified. > Surely if an upstream is under your control and is ptest-aware, it can also install run-ptest into the

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

2015-09-28 Thread Tudor Florea
Hi Ian On 9/21/2015 10:11, Ian Ray wrote: > Provides a new variable, PTEST_RUN_SCRIPT_PATH, which points to a > directory where the run-ptest script is located. This location > defaults to the work directory but may be overridden within a recipe > if a package ships its own run-ptest script. >

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

2015-09-21 Thread Ian Ray
Provides a new variable, PTEST_RUN_SCRIPT_PATH, which points to a directory where the run-ptest script is located. This location defaults to the work directory but may be overridden within a recipe if a package ships its own run-ptest script. Signed-off-by: Ian Ray ---