summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/context.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index 3126ada716..c4eb5d614e 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -78,12 +78,12 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
parser.add_argument('--machine', required=False, choices=['random', 'all'],
help='Run tests on different machines (random/all).')
- parser.add_argument('-t', '--select-tags', dest="select_tags",
- nargs='*', default=None,
- help='Filter all (unhidden) tests to any that match any of the specified tags.')
- parser.add_argument('-T', '--exclude-tags', dest="exclude_tags",
- nargs='*', default=None,
- help='Exclude all (unhidden) tests that match any of the specified tags. (exclude applies before select)')
+ parser.add_argument('-t', '--select-tag', dest="select_tags",
+ action='append', default=None,
+ help='Filter all (unhidden) tests to any that match any of the specified tag(s).')
+ parser.add_argument('-T', '--exclude-tag', dest="exclude_tags",
+ action='append', default=None,
+ help='Exclude all (unhidden) tests that match any of the specified tag(s). (exclude applies before select)')
parser.set_defaults(func=self.run)