Lines Matching +full:default +full:- +full:tap
2 # SPDX-License-Identifier: GPL-2.0
5 tdc.py - Linux tc (Traffic Control) unit test driver
55 mn = fn[0:-3]
61 pgname = pgname[0:-3]
72 self.plugin_instances[-1][1].check_args(self.args, None)
101 pgd = ['plugin-lib', 'plugin-lib-custom']
224 foutput = serr.decode("utf-8", errors="ignore")
226 foutput = rawout.decode("utf-8", errors="ignore")
383 tap = ""
413 NAMES['NS'] = '{}-{}'.format(NAMES['NS'], tidx['random'])
419 prepare_env(tidx, args, pm, 'setup', "-----> prepare stage", tidx["setup"])
422 print('-----> execute stage')
441 print('-----> verify stage')
464 prepare_env(tidx, args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout)
509 TAP output accordingly.
514 tap = ''
523 errmsg += "physical NIC with the -d option when running tdc.\n"
551 print('---------------')
554 print('---------------')
559 print('---------------')
564 # fill in the remaining tests with ok-skipped
568 for tidx in testlist[count - 1:]:
571 msg = 'skipped - previous {} failed {} {}'.format(stage,
572 index, badtest.get('id', '--Unknown--'))
689 '--outfile', type=str,
691 'Default target is the current directory.')
693 '-p', '--path', type=str,
702 '-D', '--directory', nargs='+', metavar='DIR',
704 '(default [tc-tests])')
706 '-f', '--file', nargs='+', metavar='FILE',
709 '-c', '--category', nargs='*', metavar='CATG', default=['+c'],
713 '-e', '--execute', nargs='+', metavar='ID',
716 '-l', '--list', action='store_true',
719 '-s', '--show', action='store_true', dest='showID',
722 '-i', '--id', action='store_true', dest='gen_id',
725 '-v', '--verbose', action='count', default=0,
728 '--format', default='tap', const='tap', nargs='?',
729 choices=['none', 'xunit', 'tap'],
730 help='Specify the format for test results. (Default: TAP)')
731 parser.add_argument('-d', '--device',
736 '-P', '--pause', action='store_true',
737 help='Pause execution just before post-suite stage')
739 '-J', '--multiprocess', type=int, default=1, dest='mp',
746 Process any arguments overriding the default settings,
865 testdirs = ['tc-tests']
868 # at least one file was specified - remove the default directory
976 elif args.format == 'tap':
977 suffix = 'tap'
982 fname = 'test-results.{}'.format(suffix)
1023 # Cleanup on Ctrl-C