Home
last modified time | relevance | path

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

12345678910>>...15

/openthread-3.6.0/third_party/mbedtls/repo/tests/scripts/
Dbasic-build-test.sh3 # basic-build-tests.sh
25 # The tests include:
26 # * Unit tests - executed using tests/scripts/run-test-suite.pl
27 # * Self-tests - executed using the test suites above
28 # * System tests - executed using tests/ssl-opt.sh
29 # * Interoperability tests - executed using tests/compat.sh
31 # The tests focus on functionality and do not consider performance.
33 # Note the tests self-adapt due to configurations in include/mbedtls/config.h
34 # which can lead to some tests being skipped, and can cause the number of
35 # available tests to fluctuate.
[all …]
Dbasic-in-docker.sh7 # This runs sanity checks and library tests in a Docker container. The tests
10 # configurations, and some dependency tests.
31 source tests/scripts/docker_env.sh
33 run_in_docker tests/scripts/all.sh 'check_*'
40 run_in_docker -e OSSL_NO_DTLS=1 tests/compat.sh
41 run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
42 run_in_docker tests/scripts/test-ref-configs.pl
43 run_in_docker tests/scripts/curves.pl
44 run_in_docker tests/scripts/key-exchanges.pl
Dall.sh29 # To run all tests possible or available on the platform.
38 # * Makefile, library/Makefile, programs/Makefile, tests/Makefile,
54 # interoperability tests. If they don't support SSLv3 then a legacy
72 # script -c tests/scripts/all.sh
74 # tests/scripts/all.sh >all.log 2>&1
81 # * pre_XXX: things to do before running the tests, in order.
83 # * component_check_XXX: quick tests that aren't worth parallelizing.
88 # * post_XXX: things to do after running the tests.
106 # `tests/Makefile` and `programs/fuzz/Makefile` from git.
109 # The tests are roughly in order from fastest to slowest. This doesn't
[all …]
Dtest_psa_compliance.py4 then complie and run the test suite. The clone is stored at <Mbed TLS root>/psa-arch-tests.
31 # PSA Compliance tests we expect to fail due to known defects in Mbed TLS (or the test suite)
34 # psa-arch-tests/api-tests/dev_apis/crypto/test_c0xx
44 # We currently use a fork of ARM-software/psa-arch-tests, with a couple of downstream patches
46 # These fixes allow the tests numbered 216, 248 and 249 to complete successfully.
51 # Web URL: https://github.com/bensze01/psa-arch-tests/tree/fixes-for-mbedtls-2
52 PSA_ARCH_TESTS_REPO = 'https://github.com/bensze01/psa-arch-tests.git'
62 psa_arch_tests_dir = 'psa-arch-tests'
72 build_dir = 'api-tests/build'
93 proc = subprocess.Popen(['./psa-arch-tests-crypto'],
[all …]
Dtest_psa_constant_names.py95 class Tests: class
96 """An object representing tests and their results."""
104 self.errors = [] #type: List[Tests.Error]
153 TEST_SUITES = ['tests/suites/test_suite_psa_crypto_metadata.data']
178 tests = Tests(options)
179 tests.run_all(inputs)
180 tests.report(sys.stdout)
181 if tests.errors:
Dgenerate-afl-tests.sh7 # Usage: generate-afl-tests.sh <test data file path>
41 if [ -d ../library -a -d ../include -a -d ../tests -a $THIS_DIR == "tests" ];
44 echo " [!] Must be run from mbed TLS tests directory" >&2
48 DEST_TESTCASE_DIR=$TESTSUITE-afl-tests
Dtest-ref-configs.pl25 # Usage: tests/scripts/test-ref-configs.pl [config-name [...]]
64 -d 'library' && -d 'include' && -d 'tests' or die "Must be run from root\n";
78 if (!-e "tests/seedfile" || -s "tests/seedfile" < 64) {
80 open SEEDFILE, ">tests/seedfile" or die;
104 system( "tests/compat.sh $compat" )
116 system( "tests/ssl-opt.sh $opt" )
/openthread-3.6.0/third_party/mbedtls/repo/
DMakefile6 .PHONY: all no_test programs lib tests install uninstall clean test check covtest lcov apidoc apido…
8 all: programs tests
19 tests: lib mbedtls_test target
20 $(MAKE) -C tests
23 $(MAKE) -C tests mbedtls_test
92 $(MAKE) -C tests clean
97 check: lib tests
98 $(MAKE) -C tests check
108 tests/compat.sh
109 tests/ssl-opt.sh
[all …]
D.travis.yml24 - tests/scripts/all.sh -k 'check_*'
25 - tests/scripts/all.sh -k test_default_out_of_box
26 - tests/scripts/all.sh -k test_ref_configs
27 - tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
31 - tests/scripts/all.sh -k test_full_cmake_gcc_asan
39 - tests/scripts/travis-log-failure.sh
DREADME.md50 * Perl to run the tests.
62 In order to run the tests, enter:
66 The tests need Python to be built and Perl to be run. If you don't have one of them installed, you …
70 You'll still be able to run a much smaller set of tests with:
80 …o some issues. Please check the Makefiles in `library/`, `programs/` and `tests/` for options to m…
92 In order to run the tests, enter:
100 …the test suites, but kept the programs enabled, you can still run a much smaller set of tests with:
170 …c projects needed to build the library and all the programs. The files in tests are not generated …
178 Tests section in README for Mbed TLS
181 Mbed TLS includes an elaborate test suite in `tests/` that initially requires Python to generate th…
[all …]
DCONTRIBUTING.md10 …before submission, as mentioned in the [Tests](#tests) and [Continuous Integration](#continuous-in…
60 Tests section in Contributing
62 As mentioned, tests that show the correctness of the feature or bug fix should be added to the pull…
64 Mbed TLS includes a comprehensive set of test suites in the `tests/` directory that are dynamically…
66 [A Knowledge Base article describing how to add additional tests is available on the Mbed TLS websi…
68 A test script `tests/scripts/basic-build-test.sh` is available to show test coverage of the library…
72 Continuous Integration Tests
74 …n made, the Continuous Integration (CI) tests are triggered and run. You should follow the result …
76 …he [githooks scripts](https://github.com/ARMmbed/mbedtls/tree/development/tests/git-scripts) prior…
DCMakeLists.txt60 option(ENABLE_TESTING "Build mbed TLS tests." OFF)
62 option(ENABLE_TESTING "Build mbed TLS tests." ON)
275 # The C files in tests/src directory contain test code shared among test suites
285 # target. This library of objects is used by tests and programs CMake files
289 …(GLOB MBEDTLS_TEST_FILES ${CMAKE_CURRENT_SOURCE_DIR}/tests/src/*.c ${CMAKE_CURRENT_SOURCE_DIR}/tes…
292 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests/include
308 add_subdirectory(tests)
316 COMMAND tests/compat.sh
317 COMMAND tests/ssl-opt.sh
323 COMMAND lcov --capture --directory library/CMakeFiles/mbedtls.dir -o tests.info
[all …]
/openthread-3.6.0/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-3.6.0/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-3.6.0/.github/workflows/
Dtoranj.yml75 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
78 top_builddir=$(pwd)/build/toranj ./tests/toranj/start.sh
106 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
109 top_builddir=$(pwd)/build/toranj ./tests/toranj/start.sh
141 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
144 ./tests/toranj/build.sh all
148 ./tests/toranj/build.sh ncp-15.4
150 ./tests/toranj/build.sh ncp-trel
152 ./tests/toranj/build.sh ncp-15.4+trel
154 ./tests/toranj/build.sh posix-15.4
[all …]
Dsimulation-1.1.yml69 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
78 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
118 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
124 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
169 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
175 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
213 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
219 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
314 cd /tmp/ot-commissioner/tests/integration
345 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 *.lo…
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/nat64/*.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 …]
Dsimulation-1.2.yml82 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
91 ./script/test cert_suite tests/scripts/thread-cert/v1_2_*
142 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
158 ./script/test cert_suite ./tests/scripts/thread-cert/v1_2_LowPower*.py
162 …OT_BUILDDIR="${PWD}/build_csl_receiver_local_time_sync" ./script/test cert_suite ./tests/scripts/t…
213 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
222 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
307 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
315 ./script/test cert tests/scripts/thread-cert/v1_2_LowPower_5_3_01_SSEDAttachment.py
316 … ./script/test cert tests/scripts/thread-cert/v1_2_LowPower_6_1_07_PreferringARouterOverAReed.py
[all …]
/openthread-3.6.0/third_party/mbedtls/repo/visualc/VS2010/
DmbedTLS.vcxproj87 …clude/everest/vs2010;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
101 …clude/everest/vs2010;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
117 …clude/everest/vs2010;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
134 …clude/everest/vs2010;../../3rdparty/everest/include/everest/kremlib;../../tests/include </Add…
240 <ClInclude Include="..\..\tests\include\test\asn1_helpers.h" />
241 <ClInclude Include="..\..\tests\include\test\constant_flow.h" />
242 <ClInclude Include="..\..\tests\include\test\fake_external_rng_for_test.h" />
243 <ClInclude Include="..\..\tests\include\test\helpers.h" />
244 <ClInclude Include="..\..\tests\include\test\macros.h" />
245 <ClInclude Include="..\..\tests\include\test\psa_crypto_helpers.h" />
[all …]
/openthread-3.6.0/script/
Dtest30 # This file runs various tests of OpenThread.
285 export PYTHONPATH=tests/scripts/thread-cert
304 export PYTHONPATH=tests/scripts/thread-cert
310 …./tests/scripts/thread-cert/run_cert_suite.py --run-directory ot_testing --multiply "${MULTIPLY:-1…
365 …# We are testing upstream DNS forwarding in the NAT64 tests, and OPENTHREAD_CONFIG_DNSSD_SERVER_BI…
417 ./tests/scripts/thread-cert/pktverify/verify.py "$1"
481 …find tests/scripts/expect -type f -perm "$([[ $OSTYPE == darwin* ]] && echo '+' || echo '/')"111 \…
500 …_TIME 1 for virtual time, otherwise real time. The default value is 0 when running expect tests,
508 …build Build project for running tests. This can be used to rebuild the project for chang…
510 …rt_suite Run a batch of thread-cert tests and summarize the test results. Only echo logs for …
[all …]
/openthread-3.6.0/third_party/mbedtls/repo/docs/architecture/testing/
Dinvasive-testing.md34 In unit tests and in test programs, it's ok to include header files from `library/`. Do not define …
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 ## Running tests
43 Unit tests and `ssl-opt.sh` record the outcome of each test case in a **test outcome file**. This f…
/openthread-3.6.0/tests/toranj/
DREADME_CLI.md17 $ ./tests/toranj/build.sh all
28 The `toranj-cli` tests are included in `tests/toranj/cli` folder. Each test-case has its own script…
33 $ cd tests/toranj/cli
37 …un all CLI tests, `start` script can be used. This script will build OpenThread with proper config…
41 $ top_builddir=($pwd) TORANJ_CLI=1 ./tests/toranj/start.sh
169 …havior of OpenThread with simulation platform. `thread-cert` scripts (in `tests/scripts/thread-cer…
/openthread-3.6.0/third_party/mbedtls/repo/tests/
DDescriptions.txt2 The various 'test_suite_XXX' programs from the 'tests' directory, executed
13 The 'tests/compat.sh' script checks interoperability with OpenSSL and
20 The 'tests/ssl-opt.sh' script checks various options and/or operations not
/openthread-3.6.0/third_party/mbedtls/repo/tests/include/test/
Dpsa_exercise_key.h33 * This is used in some smoke tests.
63 * This is used in some smoke tests where the hash algorithm is used as
109 * This is used in some smoke tests.
126 * This is used in some smoke tests.
235 /** Do smoke tests on a key.
247 * If the key fails the tests, this function calls the test framework's
259 * \retval 0 The key failed the smoke tests.
260 * \retval 1 The key passed the smoke tests.

12345678910>>...15