mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
oe-selftest: Support verbose log output
(From OE-Core rev: 6a607da9a6aa05f86b0e77cccd066b9f286cfada) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
05882158de
commit
18a69b1cd2
@@ -156,6 +156,8 @@ class OETestContextExecutor(object):
|
||||
fh = logging.FileHandler(args.output_log)
|
||||
fh.setFormatter(formatter)
|
||||
logger.addHandler(fh)
|
||||
if getattr(args, 'verbose', False):
|
||||
logger.setLevel('DEBUG')
|
||||
|
||||
return logger
|
||||
|
||||
|
||||
@@ -138,6 +138,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
|
||||
help='Exclude all (unhidden) tests that match any of the specified tag(s). (exclude applies before select)')
|
||||
|
||||
parser.add_argument('-B', '--newbuilddir', help='New build directory to use for tests.')
|
||||
parser.add_argument('-v', '--verbose', action='store_true')
|
||||
parser.set_defaults(func=self.run)
|
||||
|
||||
def _get_available_machines(self):
|
||||
|
||||
Reference in New Issue
Block a user