Lines Matching +full:parser +full:-
2 # -*- coding: utf-8 -*-
4 # Copyright (c) 2023-2024 Huawei Device Co., Ltd.
9 # http://www.apache.org/licenses/LICENSE-2.0
36 parser = argparse.ArgumentParser(epilog='Run the selected benchmark with Ark')
37 parser.add_argument('--arkdir', metavar='DIR', default=arkdir_default,
39 parser.add_argument('--builddir', metavar='DIR', default=builddir_default,
41 …parser.add_argument('--timeout', metavar='SEC', type=int, default=60, help='timeout (default: %(de…
42 … parser.add_argument('-rt', '--runtime', action='store_true', dest='runtime', help='Runtime tests')
43 …parser.add_argument('-r', '--regression', action='store_true', dest='regression', help='Regression…
44 parser.add_argument('-cts', '--cts', action='store_true', dest='cts', help='CTS tests')
45 …parser.add_argument('-f', '--func', action='store_true', dest='functional', help='Functional tests…
46 … parser.add_argument('-t', '--test262', action='store_true', dest='test262', help='Test262 tests')
47 parser.add_argument('--all', action='store_true', dest='all', help='Run the listed benchmarks')
49 return parser.parse_args()
63 testrunner = os.path.join(options.arkdir, 'tests', 'tests-u-runner', 'main.py')
69 'python', testrunner, '--build-dir', options.builddir, '--force-generate',
70 '--show-progress', '--processes', 'all', '--timeout', str(options.timeout)
77 res = subprocess.call(general_cmd + ['--parser'])
79 res = subprocess.call(general_cmd + ['--ets-runtime'])
81 res = subprocess.call(general_cmd + ['--ets-func-tests'])
83 res = subprocess.call(general_cmd + ['--test262'])
85 res = subprocess.call(general_cmd + ['--ets-cts'])