Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-12-26 Thread Alexandre Belloni via lists.openembedded.org
On 25/12/2022 19:13:43-0500, Randy MacLeod wrote: > On 2022-11-25 08:00, Richard Purdie via lists.openembedded.org wrote: > > Hi Qi, > > > > On Fri, 2022-11-25 at 05:56 +, Chen Qi wrote: > > > The AB is actually running 'all' tests. > > > > > > The '--skip-tests (-R)' option means 'Run all

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-12-25 Thread Randy MacLeod
On 2022-11-25 08:00, Richard Purdie via lists.openembedded.org wrote: Hi Qi, On Fri, 2022-11-25 at 05:56 +, Chen Qi wrote: The AB is actually running 'all' tests. The '--skip-tests (-R)' option means 'Run all (unhidden) tests except the ones specified.', according to its help message.

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-25 Thread Richard Purdie
Hi Qi, On Fri, 2022-11-25 at 05:56 +, Chen Qi wrote: > The AB is actually running 'all' tests. > > The '--skip-tests (-R)' option means 'Run all (unhidden) tests except > the ones specified.', according to its help message. This is also its > actual effect for now. You can see there's an

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Chen Qi
][PATCH] selftest: allow '-R' and '-r' be used together On Thu, 2022-11-24 at 14:35 +0100, Alexandre Belloni via lists.openembedded.org wrote: > On 24/11/2022 13:10:51+, Chen Qi wrote: > > Hi Alexandre, > > > > The command line is: oe-selftest --skip-tests > > distroda

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Richard Purdie
On Thu, 2022-11-24 at 14:35 +0100, Alexandre Belloni via lists.openembedded.org wrote: > On 24/11/2022 13:10:51+, Chen Qi wrote: > > Hi Alexandre, > > > > The command line is: oe-selftest --skip-tests > > distrodata.Distrodata.test_checkpkg > >

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Alexandre Belloni via lists.openembedded.org
gt; Sent: Thursday, November 24, 2022 9:02 PM > To: Chen, Qi > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together > > On 24/11/2022 12:24:38+, Chen Qi wrote: > > Hi Alexandre, > > > > Yes, I

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Chen Qi
-Original Message- From: Alexandre Belloni Sent: Thursday, November 24, 2022 9:02 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together On 24/11/2022 12:24:38+, Chen Qi wrote: > Hi Alexandre, > >

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Alexandre Belloni via lists.openembedded.org
, November 24, 2022 7:35 PM > To: Chen, Qi > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together > > Hello, > > On 23/11/2022 18:55:28-0800, Chen Qi wrote: > > For now, there's no easy way to skip

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Chen Qi
-selftest -r A -R A.B.C'. Regards, Qi -Original Message- From: Alexandre Belloni Sent: Thursday, November 24, 2022 7:35 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together Hello, On 23/11/2022 18:55:28-0800

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Alexandre Belloni via lists.openembedded.org
Hello, On 23/11/2022 18:55:28-0800, Chen Qi wrote: > For now, there's no easy way to skip some specified tests when > using 'oe-selftest -r'. This is because '-R' and '-r' are in the > mutually exclusive group. Looking at the codes, the codes have already > allowed running specified tests and

[OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-23 Thread Chen Qi
For now, there's no easy way to skip some specified tests when using 'oe-selftest -r'. This is because '-R' and '-r' are in the mutually exclusive group. Looking at the codes, the codes have already allowed running specified tests and skipping specified tests at the same time. So move '-R' out of