]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/context.py: For -t/-T use append argparse action
authorNathan Rossi <nathan@nathanrossi.com>
Tue, 10 Sep 2019 12:40:59 +0000 (12:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2019 06:30:08 +0000 (07:30 +0100)
commitffe9e4303fa9799d2e8af9188853a262e15af226
treee01491cfd686b248f4b08b09ba3f6577876cb7d8
parentd41606244c170fd547496e5df9e3d28ce2d2af68
oeqa/selftest/context.py: For -t/-T use append argparse action

Use the 'append' action of argparse instead of nargs. This changes the
behaviour of the option from "-t foo bar -r" to "-t foo -t bar -r".

Additionally rename the long form options to be consistent with
behaviour, such that they specifying a single tag at a time.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/context.py