• Home
  • Raw
  • Download

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")
253 tap = ""
272 prepare_env(args, pm, 'setup', "-----> prepare stage", tidx["setup"])
275 print('-----> execute stage')
294 print('-----> verify stage')
311 prepare_env(args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout)
327 TAP output accordingly.
332 tap = ''
349 stage = 'pre-SUITE'
360 errmsg += "physical NIC with the -d option when running tdc.\n"
387 print('---------------')
390 print('---------------')
395 print('---------------')
400 # fill in the remaining tests with ok-skipped
404 for tidx in testlist[count - 1:]:
407 msg = 'skipped - previous {} failed {} {}'.format(stage,
408 index, badtest.get('id', '--Unknown--'))
461 '--outfile', type=str,
463 'Default target is the current directory.')
465 '-p', '--path', type=str,
474 '-D', '--directory', nargs='+', metavar='DIR',
476 '(default [tc-tests])')
478 '-f', '--file', nargs='+', metavar='FILE',
481 '-c', '--category', nargs='*', metavar='CATG', default=['+c'],
485 '-e', '--execute', nargs='+', metavar='ID',
488 '-l', '--list', action='store_true',
491 '-s', '--show', action='store_true', dest='showID',
494 '-i', '--id', action='store_true', dest='gen_id',
497 '-v', '--verbose', action='count', default=0,
500 '--format', default='tap', const='tap', nargs='?',
501 choices=['none', 'xunit', 'tap'],
502 help='Specify the format for test results. (Default: TAP)')
503 parser.add_argument('-d', '--device',
508 '-P', '--pause', action='store_true',
509 help='Pause execution just before post-suite stage')
515 Process any arguments overriding the default settings,
633 testdirs = ['tc-tests']
636 # at least one file was specified - remove the default directory
734 elif args.format == 'tap':
735 suffix = 'tap'
740 fname = 'test-results.{}'.format(suffix)