Lines Matching +full:default +full:- +full:tap
2 # SPDX-License-Identifier: GPL-2.0
5 tdc.py - Linux tc (Traffic Control) unit test driver
54 mn = fn[0:-3]
60 pgname = pgname[0:-3]
64 self.plugin_instances[-1].check_args(self.args, None)
89 pgd = ['plugin-lib', 'plugin-lib-custom']
202 foutput = serr.decode("utf-8", errors="ignore")
204 foutput = rawout.decode("utf-8", errors="ignore")
357 tap = ""
389 prepare_env(args, pm, 'setup', "-----> prepare stage", tidx["setup"])
392 print('-----> execute stage')
411 print('-----> verify stage')
434 prepare_env(args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout)
450 TAP output accordingly.
455 tap = ''
472 stage = 'pre-SUITE'
483 errmsg += "physical NIC with the -d option when running tdc.\n"
511 print('---------------')
514 print('---------------')
519 print('---------------')
524 # fill in the remaining tests with ok-skipped
528 for tidx in testlist[count - 1:]:
531 msg = 'skipped - previous {} failed {} {}'.format(stage,
532 index, badtest.get('id', '--Unknown--'))
585 '--outfile', type=str,
587 'Default target is the current directory.')
589 '-p', '--path', type=str,
598 '-D', '--directory', nargs='+', metavar='DIR',
600 '(default [tc-tests])')
602 '-f', '--file', nargs='+', metavar='FILE',
605 '-c', '--category', nargs='*', metavar='CATG', default=['+c'],
609 '-e', '--execute', nargs='+', metavar='ID',
612 '-l', '--list', action='store_true',
615 '-s', '--show', action='store_true', dest='showID',
618 '-i', '--id', action='store_true', dest='gen_id',
621 '-v', '--verbose', action='count', default=0,
624 '--format', default='tap', const='tap', nargs='?',
625 choices=['none', 'xunit', 'tap'],
626 help='Specify the format for test results. (Default: TAP)')
627 parser.add_argument('-d', '--device',
632 '-P', '--pause', action='store_true',
633 help='Pause execution just before post-suite stage')
639 Process any arguments overriding the default settings,
757 testdirs = ['tc-tests']
760 # at least one file was specified - remove the default directory
861 elif args.format == 'tap':
862 suffix = 'tap'
867 fname = 'test-results.{}'.format(suffix)