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']
201 foutput = serr.decode("utf-8", errors="ignore")
203 foutput = rawout.decode("utf-8", errors="ignore")
356 tap = ""
388 prepare_env(args, pm, 'setup', "-----> prepare stage", tidx["setup"])
391 print('-----> execute stage')
410 print('-----> verify stage')
433 prepare_env(args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout)
449 TAP output accordingly.
454 tap = ''
471 stage = 'pre-SUITE'
482 errmsg += "physical NIC with the -d option when running tdc.\n"
510 print('---------------')
513 print('---------------')
518 print('---------------')
523 # fill in the remaining tests with ok-skipped
527 for tidx in testlist[count - 1:]:
530 msg = 'skipped - previous {} failed {} {}'.format(stage,
531 index, badtest.get('id', '--Unknown--'))
584 '--outfile', type=str,
586 'Default target is the current directory.')
588 '-p', '--path', type=str,
597 '-D', '--directory', nargs='+', metavar='DIR',
599 '(default [tc-tests])')
601 '-f', '--file', nargs='+', metavar='FILE',
604 '-c', '--category', nargs='*', metavar='CATG', default=['+c'],
608 '-e', '--execute', nargs='+', metavar='ID',
611 '-l', '--list', action='store_true',
614 '-s', '--show', action='store_true', dest='showID',
617 '-i', '--id', action='store_true', dest='gen_id',
620 '-v', '--verbose', action='count', default=0,
623 '--format', default='tap', const='tap', nargs='?',
624 choices=['none', 'xunit', 'tap'],
625 help='Specify the format for test results. (Default: TAP)')
626 parser.add_argument('-d', '--device',
631 '-P', '--pause', action='store_true',
632 help='Pause execution just before post-suite stage')
638 Process any arguments overriding the default settings,
756 testdirs = ['tc-tests']
759 # at least one file was specified - remove the default directory
860 elif args.format == 'tap':
861 suffix = 'tap'
866 fname = 'test-results.{}'.format(suffix)