summaryrefslogtreecommitdiffstats
path: root/docs/_templates/relations.html
blob: 5bad0b562b45bebc7678040b0c5b9c8e12e104fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<center>
<div class="btn-group" role="group" aria-label="...">
    {% if prev %}
    <a class="btn btn-default" href="{{ prev.link|e }}">Prev Page</a>
    {% else %}
    <button type="button" class="btn btn-default disabled">Prev Page</button>
    {% endif %}

    {% if next %}
    <a class="btn btn-default" href="{{ next.link|e }}">Next Page</a>
    {% else %}
    <button type="button" class="btn btn-default disabled">Next Page</button>
    {% endif %}
</div>
</center>
span class="s1">'\n compute ' '\n storage ' '\n network ' 'They contain all the tests that will be run. They are listed by suite.' 'Please ensure there are no empty lines') parser.add_argument('-b', '--benchmark', help='Name of the benchmark.' 'Can be found in benchmarks/suite/file_name') return parser.parse_args(args) def __init__(self, args=sys.argv[1:]): args = self._parse_args(args) if not args_handler.check_suite(args.file): logger.error("ERROR: This suite file %s doesn't exist under benchmarks/suite/.\ Please enter correct file." % str(args.file)) sys.exit(1) if not args_handler.check_lab_name(args.lab): logger.error("You have specified a lab that is not present under benchmarks/testplan/.\ Please enter correct file. If unsure how to proceed, use -l default.") sys.exit(1) suite = args.file benchmarks = args_handler.get_files_in_suite(suite) test_cases = args_handler.get_files_in_test_plan(args.lab, suite) benchmarks_list = filter(lambda x: x in test_cases, benchmarks) if args.benchmark: if not args_handler.check_benchmark_name(args.lab, args.file, args.benchmark): logger.error("You have specified an incorrect benchmark.\ Please enter the correct one.") sys.exit(1) else: logger.info("Starting with " + args.benchmark) args_handler.prepare_and_run_benchmark( os.environ['INSTALLER_TYPE'], os.environ['PWD'], args_handler.get_benchmark_path(args.lab.lower(), args.file, args.benchmark)) else: map(lambda x: args_handler.prepare_and_run_benchmark( os.environ['INSTALLER_TYPE'], os.environ['PWD'], args_handler.get_benchmark_path(args.lab.lower(), suite, x)), benchmarks_list) logger.info("{0} is not a Template in the Directory Enter a Valid file name.\ or use qtip.py -h for list".format(filter(lambda x: x not in test_cases, benchmarks)))