Lines Matching +full:pylint +full:- +full:exit
4 then compile and run the test suite. The clone is stored at <repository root>/psa-arch-tests.
5 Known defects in either the test suite or mbedtls / TF-PSA-Crypto - identified by their test
6 number - are ignored, while unexpected failures AND successes are reported as errors, to help
11 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
21 #pylint: disable=unused-import
26 # TF-PSA-Crypto (or the test suite).
29 # psa-arch-tests/api-tests/dev_apis/crypto/test_c0xx
32 PSA_ARCH_TESTS_REPO = 'https://github.com/ARM-software/psa-arch-tests.git'
35 #pylint: disable=too-many-branches,too-many-statements,too-many-locals
49 #pylint: disable=bad-continuation
52 '-GUnix Makefiles',
53 '-B' + library_build_dir
55 subprocess.check_call(['cmake', '--build', library_build_dir,
56 '--target', crypto_name])
58 psa_arch_tests_dir = 'psa-arch-tests'
68 build_dir = 'api-tests/build'
79 #pylint: disable=bad-continuation
82 '-GUnix Makefiles',
83 '-DTARGET=tgt_dev_apis_stdc',
84 '-DTOOLCHAIN=HOST_GCC',
85 '-DSUITE=CRYPTO',
86 '-DPSA_CRYPTO_LIB_FILENAME={}/{}'.format(root_dir,
88 ('-DPSA_INCLUDE_PATHS={}/include' + extra_includes).format(root_dir)
90 subprocess.check_call(['cmake', '--build', '.'])
92 proc = subprocess.Popen(['./psa-arch-tests-crypto'],
96 '^TEST: (?P<test_num>[0-9]*)|'
99 test = -1
150 # pylint: disable=invalid-name
152 parser.add_argument('--build-dir', nargs=1,
153 help='path to Mbed TLS / TF-PSA-Crypto build directory')
159 sys.exit(main(BUILD_DIR))