Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 91) sorted by relevance

1234

/mbedtls-3.4.0/
DMakefile7 .PHONY: all no_test programs lib tests install uninstall clean test check covtest lcov apidoc apido…
9 all: programs tests
20 tests: lib mbedtls_test target
21 $(MAKE) -C tests
24 $(MAKE) -C tests mbedtls_test
30 tests/%:
31 $(MAKE) -C tests $*
36 generated_files: tests/generated_files
115 $(MAKE) -C tests clean
125 $(MAKE) -C tests neat
[all …]
DCMakeLists.txt74 option(ENABLE_TESTING "Build mbed TLS tests." OFF)
76 option(ENABLE_TESTING "Build mbed TLS tests." ON)
271 # The C files in tests/src directory contain test code shared among test suites
281 # target. This library of objects is used by tests and programs CMake files
285 …(GLOB MBEDTLS_TEST_FILES ${CMAKE_CURRENT_SOURCE_DIR}/tests/src/*.c ${CMAKE_CURRENT_SOURCE_DIR}/tes…
288 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests/include
304 add_subdirectory(tests)
312 COMMAND tests/compat.sh
313 COMMAND tests/ssl-opt.sh
319 COMMAND lcov --capture --directory library/CMakeFiles/mbedtls.dir -o tests.info
[all …]
DCONTRIBUTING.md11 - [Tests](#tests): please ensure the PR includes adequate tests.
17 …re submission, as mentioned in the [Tests](#tests) and [Continuous Integration](#continuous-integr…
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…
74 …n made, the Continuous Integration (CI) tests are triggered and run. You should follow the result …
76 …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.
77 * On Unix/POSIX systems, run `tests/scripts/check-generated-files.sh -u` to generate all the config…
90 In order to run the tests, enter:
94 The tests need Python to be built and Perl to be run. If you don't have one of them installed, you …
98 You'll still be able to run a much smaller set of tests with:
108 …o some issues. Please check the Makefiles in `library/`, `programs/` and `tests/` for options to m…
120 In order to run the tests, enter:
128 …the test suites, but kept the programs enabled, you can still run a much smaller set of tests with:
225 …c projects needed to build the library and all the programs. The files in tests are not generated …
238 Mbed TLS includes an elaborate test suite in `tests/` that initially requires Python to generate th…
[all …]
/mbedtls-3.4.0/tests/scripts/
Dall.sh127 if [ -d library -a -d include -a -d tests ]; then :; else
225 Run mbedtls release validation tests.
226 By default, run all tests. With one or more COMPONENT, run only those.
242 -f|--force Force the tests to overwrite any modified files.
243 -k|--keep-going Run all tests and report errors at the end.
244 -m|--memory Additional optional memory tests.
264 --no-memory No additional memory tests (default).
266 --out-of-source-dir=<path> Directory used for CMake out-of-source build tests.
269 --random-seed Use a random seed value for randomized tests (default).
276 --gnutls-cli=<GnuTLS_cli_path> GnuTLS client executable to use for most tests.
[all …]
Dbasic-in-docker.sh31 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/depends.py curves
44 run_in_docker tests/scripts/depends.py kex
Dcheck-generated-files.sh129 check tests/scripts/generate_bignum_tests.py $(tests/scripts/generate_bignum_tests.py --list)
130 check tests/scripts/generate_psa_tests.py $(tests/scripts/generate_psa_tests.py --list)
Dall-in-docker.sh30 source tests/scripts/docker_env.sh
33 run_in_docker tests/scripts/all.sh \
Dbasic-build-test.sh45 if [ -d library -a -d include -a -d tests ]; then :; else
100 cd tests
145 } | tee tests/cov-$TEST_OUTPUT
166 cd tests
Dtest_psa_constant_names.py196 tests = Tests(options)
197 tests.run_all(inputs)
198 tests.report(sys.stdout)
199 if tests.errors:
Dgenerate-afl-tests.sh41 if [ -d ../library -a -d ../include -a -d ../tests -a $THIS_DIR == "tests" ];
48 DEST_TESTCASE_DIR=$TESTSUITE-afl-tests
Dcheck-python-files.sh70 $PYTHON -m pylint scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || {
77 $PYTHON -m mypy scripts/*.py tests/scripts/*.py ||
Drun-test-suites.pl126 my ($passed, $tests, $skipped) = $result =~ /([0-9]*) \/ ([0-9]*) tests.*?([0-9]*) skipped/;
127 $total_tests_run += $tests - $skipped;
/mbedtls-3.4.0/tests/
DCMakeLists.txt6 # the tests folder is included directly by a parent project, without including
23 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_bignum_tests.py
35 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
67 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_bignum_tests.py
70 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_bignum_tests.py
85 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
88 ${CMAKE_CURRENT_SOURCE_DIR}/../tests/scripts/generate_psa_tests.py
129 # Get the test names of the tests with generated .data files
197 # files (used by some invasive tests) from ../library. Public header
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
Dcompat-in-docker.sh35 source tests/scripts/docker_env.sh
62 tests/compat.sh \
Dssl-opt-in-docker.sh35 source tests/scripts/docker_env.sh
62 tests/ssl-opt.sh \
/mbedtls-3.4.0/docs/architecture/testing/
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…
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 …]
/mbedtls-3.4.0/tests/suites/
Dtest_suite_constant_time.function6 * The tests are instrumented with #TEST_CF_SECRET and #TEST_CF_PUBLIC
7 * (see tests/include/test/constant_flow.h) so that running the tests
/mbedtls-3.4.0/tests/git-scripts/
DREADME.md7 …<Mbed TLS root>/tests/git-scripts` directory, and one must create a soft link from `<Mbed TLS root…
12 `ln -s ../../tests/git-scripts/pre-push.sh pre-push`
/mbedtls-3.4.0/scripts/
Dtmp_ignore_makefiles.sh55 git update-index --assume-unchanged Makefile library/Makefile programs/Makefile tests/Makefile
58 git update-index --no-assume-unchanged Makefile library/Makefile programs/Makefile tests/Makefile
Dmake_generated_files.bat13 python tests\scripts\generate_bignum_tests.py || exit /b 1
14 python tests\scripts\generate_psa_tests.py || exit /b 1
/mbedtls-3.4.0/docs/architecture/psa-migration/
Dtesting.md12 `MBEDTLS_USE_PSA_CRYPTO` and runs the full battery of tests; currently that's
53 new API to be used, and one or more tests in `ssl-opt.sh` using that.
78 - usually already covered by existing tests for higher-level modules:
80 covered by running the existing TLS tests in a build with
94 be already be covered by running the existing tests in a build with
99 whether to use the PSA or legacy code paths, specific tests might be in order.
/mbedtls-3.4.0/programs/pkey/
DCMakeLists.txt9 target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include)
36 target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include)

1234