Home
last modified time | relevance | path

Searched full:tests (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dbasic-build-test.sh13 # The tests include:
14 # * Unit tests - executed using tests/scripts/run-test-suite.pl
15 # * Self-tests - executed using the test suites above
16 # * System tests - executed using tests/ssl-opt.sh
17 # * Interoperability tests - executed using tests/compat.sh
19 # The tests focus on functionality and do not consider performance.
21 # Note the tests self-adapt due to configurations in include/mbedtls/mbedtls_config.h
22 # which can lead to some tests being skipped, and can cause the number of
23 # available tests to fluctuate.
33 if [ -d library -a -d include -a -d tests ]; then :; else
[all …]
Dbasic-in-docker.sh7 # This runs sanity checks and library tests in a Docker container. The tests
10 # configurations, and some dependency tests.
23 source tests/scripts/docker_env.sh
25 run_in_docker tests/scripts/all.sh 'check_*'
32 run_in_docker -e OSSL_NO_DTLS=1 tests/compat.sh
33 run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
34 run_in_docker tests/scripts/test-ref-configs.pl
35 run_in_docker tests/scripts/depends.py curves
36 run_in_docker tests/scripts/depends.py kex
Dall.sh17 # To run all tests possible or available on the platform.
26 # * Makefile, library/Makefile, programs/Makefile, tests/Makefile,
42 # interoperability tests. The following are the official versions at the
63 # script -c tests/scripts/all.sh
65 # tests/scripts/all.sh >all.log 2>&1
72 # * pre_XXX: things to do before running the tests, in order.
74 # * component_check_XXX: quick tests that aren't worth parallelizing.
77 # * component_release_XXX: tests that the CI should skip during PR testing.
80 # * post_XXX: things to do after running the tests.
98 # `tests/Makefile` and `programs/fuzz/Makefile` from git.
[all …]
Dcheck-generated-files.sh26 test -d include -a -d library -a -d programs -a -d tests
30 test -d include -a -d core -a -d drivers -a -d programs -a -d tests
131 check tests/scripts/generate_bignum_tests.py $(tests/scripts/generate_bignum_tests.py --list)
132 check tests/scripts/generate_ecp_tests.py $(tests/scripts/generate_ecp_tests.py --list)
133 check tests/scripts/generate_psa_tests.py $(tests/scripts/generate_psa_tests.py --list)
151 check tests/scripts/generate_psa_wrappers.py tests/include/test/psa_test_wrappers.h tests/src/psa_t…
Dtest_psa_compliance.py4 then compile and run the test suite. The clone is stored at <repository root>/psa-arch-tests.
25 # PSA Compliance tests we expect to fail due to known defects in Mbed TLS /
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'
58 psa_arch_tests_dir = 'psa-arch-tests'
68 build_dir = 'api-tests/build'
92 proc = subprocess.Popen(['./psa-arch-tests-crypto'],
136 print('Please remove the corresponding tests from '
137 'EXPECTED_FAILURES in tests/scripts/compliance_test.py')
Dgenerate_pkcs7_tests.py8 Make fuzz like testing for pkcs7 tests
9 Given a valid DER pkcs7 file add tests to the test_suite_pkcs7.data file
13 documentation for showing how those ugly tests in test_suite_pkcs7.data were created
38 Allow for new tests to be added.
53 tests = []
63 tests.append(Test(lines[i], lines[i+1], lines[i+2]))
66 tests.append(Test(lines[i], None, lines[i+1]))
68 latest_test_num = float(tests[-1].name.split('#')[1])
69 return latest_test_num, tests
179 print("made " + str(len(MUT_ARR)) + " new tests")
Dtest_psa_constant_names.py101 class Tests: class
102 """An object representing tests and their results."""
110 self.errors = [] #type: List[Tests.Error]
159 TEST_SUITES = ['tests/suites/test_suite_psa_crypto_metadata.data']
184 tests = Tests(options)
185 tests.run_all(inputs)
186 tests.report(sys.stdout)
187 if tests.errors:
Dgenerate-afl-tests.sh7 # Usage: generate-afl-tests.sh <test data file path>
29 if [ -d ../library -a -d ../include -a -d ../tests -a $THIS_DIR == "tests" ];
32 echo " [!] Must be run from Mbed TLS tests directory" >&2
36 DEST_TESTCASE_DIR=$TESTSUITE-afl-tests
/openthread-latest/third_party/mbedtls/repo/visualc/VS2017/
DmbedTLS.vcxproj91 …clude/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
106 …clude/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
123 …clude/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
141 …clude/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
247 <ClInclude Include="..\..\tests\include\test\arguments.h" />
248 <ClInclude Include="..\..\tests\include\test\asn1_helpers.h" />
249 <ClInclude Include="..\..\tests\include\test\bignum_helpers.h" />
250 <ClInclude Include="..\..\tests\include\test\certs.h" />
251 <ClInclude Include="..\..\tests\include\test\constant_flow.h" />
252 <ClInclude Include="..\..\tests\include\test\fake_external_rng_for_test.h" />
[all …]
/openthread-latest/third_party/mbedtls/repo/
DMakefile21 .PHONY: all no_test programs lib tests install uninstall clean test check lcov apidoc apidoc_clean
23 all: programs tests
34 tests: lib mbedtls_test target
35 $(MAKE) -C tests
38 $(MAKE) -C tests mbedtls_test
44 tests/%:
45 $(MAKE) -C tests $*
50 generated_files: tests/generated_files
152 $(MAKE) -C tests clean
162 $(MAKE) -C tests neat
[all …]
DCONTRIBUTING.md11 - [Tests](#tests): please ensure the PR includes adequate tests.
17tests, as mentioned in the [Tests](#tests) and [Continuous Integration](#continuous-integration-te…
56 Tests section in Contributing
58 As mentioned, tests that show the correctness of the feature or bug fix should be added to the pull…
60 Mbed TLS includes a comprehensive set of test suites in the `tests/` directory that are dynamically…
62 [A Knowledge Base article describing how to add additional tests is available on the Mbed TLS websi…
64 A test script `tests/scripts/basic-build-test.sh` is available to show test coverage of the library…
68 Continuous Integration Tests
70 …n made, the Continuous Integration (CI) tests are triggered and run. You should follow the result …
72 …e [githooks scripts](https://github.com/Mbed-TLS/mbedtls/tree/development/tests/git-scripts) prior…
DREADME.md52 * Perl to run the tests, and to generate some source files in the development branch.
82 * On Unix/POSIX systems, run `tests/scripts/check-generated-files.sh -u` to generate all the config…
95 In order to run the tests, enter:
99 The tests need Python to be built and Perl to be run. If you don't have one of them installed, you …
103 You'll still be able to run a much smaller set of tests with:
113 …o some issues. Please check the Makefiles in `library/`, `programs/` and `tests/` for options to m…
125 In order to run the tests, enter:
133 …the test suites, but kept the programs enabled, you can still run a much smaller set of tests with:
230 …c projects needed to build the library and all the programs. The files in tests are not generated …
240 Tests section in README for Mbed TLS
[all …]
/openthread-latest/tests/unit/
DREADME.md1 # OpenThread Unit Tests
3 This page describes how to build and run OpenThread unit tests. It will be helpful for developers t…
7tests cannot be built solely without building the whole project. So first build OpenThread on the …
14 ## List all tests
16 To see what tests are available in OpenThread:
23 ## Run the Unit Tests
25 To run all the unit tests:
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dpsa-crypto-implementation-structure.md81 * [ ] `include/psa/crypto_config.h`, `tests/include/test/drivers/crypto_config_test_driver_extensio…
86 * [ ] `tests/suites/test_suite_psa_crypto_metadata.data` — [New functions and macros](#new-function…
87 * (If adding `PSA_IS_xxx`) `tests/suites/test_suite_psa_crypto_metadata.function` — [New functions …
88 * [ ] `tests/suites/test_suite_psa_crypto*.data`, `tests/suites/test_suite_psa_crypto*.function` — …
89 …_dev/crypto_knowledge.py`, `scripts/mbedtls_dev/asymmetric_key_data.py` — [Unit tests](#unit-tests)
97tests/suites/test_suite_psa_crypto.data`, `tests/suites/test_suite_psa_crypto.function`, `tests/su…
121tests/suites/test_suite_psa_crypto_metadata.data` that verifies that `PSA_IS_xxx` macros behave pr…
131 * For the testing of the driver dispatch code, `tests/include/test/drivers/crypto_config_test_drive…
154 ### Unit tests
156 A number of unit tests are automatically generated by `tests/scripts/generate_psa_tests.py` based o…
[all …]
/openthread-latest/tests/scripts/thread-cert/border_router/
DREADME.md1 # OpenThread Border Router Tests
3 ## Run Border Router (BR) tests locally
5 BR tests run in isolated Docker network and containers, so a new OTBR Docker image needs to be crea…
22 # Run the BR tests locally.
23 TEST_CASE=./tests/scripts/thread-cert/border_router/test_advertising_proxy.py
/openthread-latest/tests/nexus/
DREADME.md8 - **Enhanced control**: Achieve greater control and scalability over simulated tests.
14 - Nexus tests can interact directly with the C++ or C OT core APIs, providing more control than the…
15 - The flow of time in Nexus tests is directly controlled by the test itself, allowing for quick tim…
17 ### How to build and run tests
22 ./tests/nexus/build.sh
28 ./tests/nexus/nexus_form_join
/openthread-latest/.github/workflows/
Dtoranj.yml79 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
82 top_builddir=$(pwd)/build/toranj ./tests/toranj/start.sh
114 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
117 top_builddir=$(pwd)/build/toranj ./tests/toranj/start.sh
153 ./tests/toranj/build.sh all
157 ./tests/toranj/build.sh ncp-15.4
159 ./tests/toranj/build.sh ncp-trel
161 ./tests/toranj/build.sh ncp-15.4+trel
163 ./tests/toranj/build.sh posix-15.4
165 ./tests/toranj/build.sh posix-15.4+trel
[all …]
Dsimulation-1.1.yml73 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
82 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
126 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
132 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
181 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
187 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
229 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
235 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
338 cd /tmp/ot-commissioner/tests/integration
373 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
[all …]
Dsimulation-1.4.yml86 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
95 ./script/test cert_suite tests/scripts/thread-cert/v1_2_*
150 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
166 ./script/test cert_suite ./tests/scripts/thread-cert/v1_2_LowPower*.py
170 …OT_BUILDDIR="${PWD}/build_csl_receiver_local_time_sync" ./script/test cert_suite ./tests/scripts/t…
225 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
234 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
277 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
284 ./script/test cert_suite ./tests/scripts/thread-cert/addon_test_channel_manager_autocsl*.py
376 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
[all …]
Dotbr.yml77 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
88 …sudo -E ./script/test cert_suite ./tests/scripts/thread-cert/backbone/*.py || (sudo chmod a+r ot_t…
121 cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
127 cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
133 cert_scripts: ./tests/scripts/thread-cert/border_router/MATN/*.py
139 cert_scripts: ./tests/scripts/thread-cert/border_router/LowPower/*.py
145 cert_scripts: ./tests/scripts/thread-cert/border_router/internet/*.py
151 cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
157 cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
163 cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
[all …]
/openthread-latest/script/
Dtest30 # This file runs various tests of OpenThread.
293 export PYTHONPATH=tests/scripts/thread-cert
312 export PYTHONPATH=tests/scripts/thread-cert
318 …./tests/scripts/thread-cert/run_cert_suite.py --run-directory ot_testing --multiply "${MULTIPLY:-1…
374 …# We are testing upstream DNS forwarding in the NAT64 tests, and OPENTHREAD_CONFIG_DNSSD_SERVER_BI…
426 ./tests/scripts/thread-cert/pktverify/verify.py "$1"
490 …find tests/scripts/expect -type f -perm "$([[ $OSTYPE == darwin* ]] && echo '+' || echo '/')"111 \…
509 …_TIME 1 for virtual time, otherwise real time. The default value is 0 when running expect tests,
517 …build Build project for running tests. This can be used to rebuild the project for chang…
519 …rt_suite Run a batch of thread-cert tests and summarize the test results. Only echo logs for …
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/
Dinvasive-testing.md34 In unit tests and in test programs, it's ok to include internal header files from `library/`. Do no…
36tests on functions that aren't part of the public API. Declare such functions in `library/*.h` and…
61 * **Where tests must be able to change the behavior, do it by function substitution.** See [“rules …
88 * Portability: tests should work on every platform. Skipping tests on certain platforms may hide er…
89tests should only enforce the documented behavior of the product, to avoid extra work when the pro…
102 * Files in storage (PSA API only — in the Mbed TLS API, black-box unit tests are sufficient).
143 We can include all the features we want to test in the public interface. Then the tests can be trul…
145 …main purpose of `mbedtls_psa_crypto_free` is to clean up all resources in tests, but this is also …
151 | Coverage | ~ Many useful tests are not reasonably achievable |
166 | Coverage | ~ Many useful tests are not reasonably achievable |
[all …]
Dtest-framework.md7 ## Unit tests
25 `tests/scripts/check_test_cases.py` enforces some rules and warns if some guidelines are violated.
27 ## TLS tests
29 ### SSL extension tests argument
37 ### SSL cipher suite tests argument
43 ## Running tests
49 Unit tests, `ssl-opt.sh` and `compat.sh` record the outcome of each test case in a **test outcome f…
/openthread-latest/third_party/mbedtls/repo/tests/
DCMakeLists.txt7 # the tests folder is included directly by a parent project, without including
24 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_bignum_tests.py
36 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_ecp_tests.py
48 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
84 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_bignum_tests.py
87 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_bignum_tests.py
102 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_ecp_tests.py
105 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_ecp_tests.py
118 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
121 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Doutcome-analysis.sh3 # This script runs tests before and after a PR and analyzes the results in
4 # order to highlight any difference in the set of tests skipped.
8 # implementation", namely: the sets of tests skipped in the default config and
14 # - SKIP_SSL_OPT=1 can optionally be set to skip ssl-opt.sh tests
42 tests/ssl-opt.sh
81 data_files=$(cd tests/suites && echo *.data)
90 extra_files=$(cd tests/opt-testcases && echo *.sh)

12345678910>>...19