Searched +full:check +full:- +full:test +full:- +full:suites (Results 1 – 25 of 181) sorted by relevance
12345678
| /third_party/mbedtls/tests/ |
| D | Makefile | 4 # Set this to -v to see the details of failing test cases 5 TEST_FLAGS ?= $(if $(filter-out 0 OFF Off off NO No no FALSE False false N n,$(CTEST_OUTPUT_ON_FAIL… 8 LOCAL_CFLAGS += -I../library 11 # (gethostname, strdup, fileno...) even when compiling with -std=c99. Harmless 12 # on non-POSIX platforms. 13 LOCAL_CFLAGS += -D_POSIX_C_SOURCE=200809L 16 LOCAL_CFLAGS += -Werror -DRECORD_PSA_STATUS_COVERAGE_LOG 21 $(PYTHON) scripts/generate_bignum_tests.py --list || \ 25 $(error "$(PYTHON) scripts/generate_bignum_tests.py --list" failed) 28 $(PYTHON) scripts/generate_ecp_tests.py --list || \ [all …]
|
| D | compat.sh | 6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 10 # Test interoperbility with OpenSSL, GnuTLS as well as itself. 12 # Check each common ciphersuite, with each version, both ways (client/server), 15 set -u 19 ulimit -f 20971520 36 : ${GNUTLS_CLI:=gnutls-cli} 37 : ${GNUTLS_SERV:=gnutls-serv} 43 # the variable is set, we can now check its value 52 G_VER="$( $GNUTLS_CLI --version | head -n1 )" 56 …eval $( echo $G_VER | sed 's/.* \([0-9]*\)\.\([0-9]\)*\.\([0-9]*\)$/MAJOR="\1" MINOR="\2" PATCH="\… [all …]
|
| /third_party/mbedtls/docs/architecture/psa-migration/ |
| D | outcome-analysis.sh | 6 # It can be used to check the first testing criterion mentioned in strategy.md, 12 # - First, commit any uncommited changes. (Also, see warning below.) 13 # - Then launch --> [SKIP_SSL_OPT=1] docs/architecture/psa-migration/outcome-analysis.sh 14 # - SKIP_SSL_OPT=1 can optionally be set to skip ssl-opt.sh tests 21 # NOTE: you can comment out parts that don't need to be re-done when 22 # re-running this script (for example "get numbers before this PR"). 24 set -eu 30 git checkout -- include/mbedtls/mbedtls_config.h include/psa/crypto_config.h 34 export MBEDTLS_TEST_OUTCOME_FILE="$PWD/outcome-$1.csv" 35 rm -f $MBEDTLS_TEST_OUTCOME_FILE [all …]
|
| /third_party/mbedtls/tests/scripts/ |
| D | check_test_cases.py | 3 """Sanity checks for test data. 5 This program contains a class for traversing test cases that can be used 10 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 21 the script doesn't list test cases in an expected 38 """Store file and line information about errors or warnings in test suites.""" 57 """An iterator over test cases with descriptions. 59 The test cases that have descriptions are: 60 * Individual unit tests (entries in a .data file) in test suites. 61 * Individual test cases in ssl-opt.sh. 69 """Process a test case. [all …]
|
| D | generate_test_code.py | 2 # Test suites code generator. 5 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 8 This script is a key part of Mbed TLS test suites framework. For 13 Mbed TLS test suites: 16 ------ 17 The test suites focus on unit testing the crypto primitives and also 18 include x509 parser tests. Tests can be added to test any Mbed TLS 21 tested as part of the system test. 23 Test case definition: 24 --------------------- [all …]
|
| D | all.sh | 6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 15 # ------- 20 # --------------- 22 # Warning: the test is destructive. It includes various build modes and 32 # * Basic Unix tools (Windows users note: a Unix-style find must be before 39 # * arm-gcc and mingw-gcc 40 # * ArmCC 5 and ArmCC 6, unless invoked with --no-armcc 53 # The behavior on an error depends on whether --keep-going (alias -k) 55 # * Without --keep-going: the script stops on the first error without 58 # * With --keep-going: the script runs all requested components and [all …]
|
| D | audit-validity-dates.py | 4 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 11 from tests/data_files/ and tests/suites/*.data files by default. 31 import scripts_path # pylint: disable=unused-import 36 match = re.match(r'^[0-9]+', cryptography.__version__) 38 raise Exception("audit-validity-dates requires cryptography >= 35.0.0" 48 PEM = 1 # Privacy-Enhanced Mail 54 #pylint: disable=too-few-public-methods 94 PEM_REGEX = br'-{5}BEGIN (?P<type>.*?)-{5}(?P<data>.*?)-{5}END (?P=type)-{5}' 95 PEM_TAG_REGEX = br'-{5}BEGIN (?P<type>.*?)-{5}\n' 107 -> None: [all …]
|
| D | analyze_outcomes.py | 3 """Analyze the test outcomes from a full CI run. 71 outcome_file: str) -> None: 75 results.new_section("Test {} and {}", ref_component, driver_component) 77 shell_command = "tests/scripts/all.sh --outcome-file " + outcome_file + \ 80 ret_val = subprocess.run(shell_command.split(), check=False).returncode 86 allow_list: typing.List[str], full_coverage: bool) -> None: 87 """Check that all available test cases are executed at least once.""" 96 results.error('Test case not executed: {}', suite_case) 98 results.warning('Test case not executed: {}', suite_case) 100 # Test Case should be removed from the allow list. [all …]
|
| /third_party/mbedtls/tests/suites/ |
| D | main_test.function | 1 #line 2 "suites/main_test.function" 8 * Test file : __MBEDTLS_TEST_TEMPLATE__TEST_FILE 15 * Test suite file : __MBEDTLS_TEST_TEMPLATE__TEST_CASE_FILE 16 * Test suite data : __MBEDTLS_TEST_TEMPLATE__TEST_CASE_DATA_FILE 28 /* Test code may use deprecated identifiers only if the preprocessor symbol 37 /*----------------------------------------------------------------------------*/ 42 #line __MBEDTLS_TEST_TEMPLATE__LINE_NO "suites/main_test.function" 45 /*----------------------------------------------------------------------------*/ 46 /* Test Suite Code */ 53 #line __MBEDTLS_TEST_TEMPLATE__LINE_NO "suites/main_test.function" [all …]
|
| /third_party/googletest/docs/ |
| D | primer.md | 12 So what makes a good test, and how does GoogleTest fit in? We believe: 14 1. Tests should be *independent* and *repeatable*. It's a pain to debug a test 16 tests by running each of them on a different object. When a test fails, 19 code. GoogleTest groups related tests into test suites that can share data 24 platform-neutral; its tests should also be platform-neutral. GoogleTest 28 as possible. GoogleTest doesn't stop at the first test failure. Instead, it 29 only stops the current test and continues with the next. You can also set up 30 tests that report non-fatal failures after which the current test continues. 31 Thus, you can detect and fix multiple bugs in a single run-edit-compile 33 5. The testing framework should liberate test writers from housekeeping chores [all …]
|
| /third_party/libinput/ |
| D | .gitlab-ci.yml | 9 # To change the gitlab CI, edit .gitlab-ci/ci.template and/or .gitlab-ci/config.yaml 10 # and run ci-fairy generate-template. For details, see 11 # https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#templating-gitlab-ci-yml 14 # - we really want to run dnf/apt/... only once, updating on the test runner for 18 # This is handled by the ci-templates, ensuring containers are only rebuilt 21 # - GitLab only allows one script: set per job but we have a bunch of commands 22 # we need to re-run for each build (meson && ninja && etc). YAML cannot merge 27 # MESON_ARGS=-Denable-something=true 28 # NINJA_ARGS=dist ... to run 'ninja -C builddir dist' 35 # e.g. fedora:31@build-default [all …]
|
| /third_party/mbedtls/programs/fuzz/ |
| D | Makefile | 9 LOCAL_LDFLAGS += -lFuzzingEngine 12 # A test application is built for each suites/test_suite_*.data file. 14 # constructed by stripping path 'suites/' and extension .data. 22 .PHONY: all check test clean 29 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) -c $< -o $@ 34 echo " $(CC) common.o $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@" 35 $(CXX) common.o $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ 38 echo " $(CC) common.o onefile.o $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@" 39 $(CC) common.o onefile.o $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ 44 rm -rf $(BINARIES) *.o
|
| /third_party/mbedtls/ |
| D | README.md | 6 Mbed TLS includes a reference implementation of the [PSA Cryptography API](#psa-cryptography-api). … 9 ------------- 11 … more programmatic way using the Python 3 script `scripts/config.py` (use `--help` for usage instr… 15 We provide some non-standard configurations focused on specific use cases in the `configs/` directo… 18 ------------- 20 The main Mbed TLS documentation is available via [ReadTheDocs](https://mbed-tls.readthedocs.io/). 22 …or the PSA Cryptography API is available [on GitHub](https://arm-software.github.io/psa-api/crypto… 24 To generate a local copy of the library documentation in HTML format, tailored to your compile-time… 33 --------- 37 - GNU Make [all …]
|
| D | CONTRIBUTING.md | 7 ----------------------------------- 10 - [Sign-off](#license-and-copyright): all commits must be signed off. 11 - [Tests](#tests): please ensure the PR includes adequate tests. 12 - [Changelog](#documentation): if needed, please provide a changelog entry. 13 - [Backports](#long-term-support-branches): provide a backport if needed (it's fine to wait until t… 16 ---------------- 17 - Contributions should include tests, as mentioned in the [Tests](#tests) and [Continuous Integrati… 18 - The code should be written in a clean and readable style, and must follow [our coding standards](… 19 - The code should be written in a portable generic way, that will benefit the whole community, and … 20 - The code should be secure, and will be reviewed from a security point of view as well. [all …]
|
| D | CMakeLists.txt | 4 # - Include directories: 13 # - MBEDTLS_TARGET_PREFIX: CMake targets are designed to be alterable by calling 69 option(GEN_FILES "Generate the auto-generated files as needed" OFF) # off in development 71 option(GEN_FILES "Generate the auto-generated files as needed" OFF) 81 # the test suites currently have compile errors with MSVC 88 # Warning string - created as a list for compatibility with CMake 2.8 90 set(CTR_DRBG_128_BIT_KEY_WARN_L2 "**** Using 128-bit keys for CTR_DRBG limits the security of gene… 91 …BIT_KEY_WARN_L3 "**** keys and operations that use random values generated to 128-bit security\n") 99 # Python 3 is only needed here to check for configuration warnings. 114 # If 128-bit keys are configured for CTR_DRBG, display an appropriate warning [all …]
|
| /third_party/openhitls/testcode/script/ |
| D | execute_sdv.sh | 12 # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 24 threadsNum=$(grep -c ^processor /proc/cpuinfo) 29 # Check whether an ASAN alarm is generated. 31 ASAN_LOG=$(find ../output -name "asan.log*") 32 if [ ! -z "$ASAN_LOG" ]; then 35 if grep -q "ASan doesn't fully support makecontext/swapcontext" $i 37 line_count=$(wc -l < "$i") 38 if [ "$line_count" -eq 1 ]; then 41 echo "ASAN ERROR. Exit with ucontext check failure." 54 # Run the specified test suites or test cases in the output directory. [all …]
|
| /third_party/alsa-utils/bat/tests/ |
| D | alsabat_main.sh | 4 # * Copyright (C) 2013-2016 Intel Corporation 17 #set -x 19 #alsabat test scripts path 22 #alsabat test log file, path+filename 23 Day=`date +"%Y-%m-%d-%H-%M"` 24 Log_FileName="test_result-"${Day}".log" 33 #total/pass/fail test cases number 43 Card_Number=$(aplay -l | grep "HDMI 0" | cut -b 6) 50 Platform_ID=`cat $file |grep "Codec:" |cut -d " " -f 3` 59 printf '\033[1;31m %-30s %s \033[1;31m%s\n\033[0m' \ [all …]
|
| /third_party/libevdev/doc/html/ |
| D | testing.html | 1 <!-- HTML header for doxygen 1.8.8--> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xht… 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <!-- For Mobile Devices --> 7 <meta name="viewport" content="width=device-width, initial-scale=1"> 8 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 10 <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> 11 <title>libevdev: libevdev-internal test suite</title> 12 <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>--> 22 <script type="text/javascript" src="doxy-boot.js"></script> [all …]
|
| /third_party/libinput/doc/user/ |
| D | test-suite.rst | 1 .. _test-suite: 4 libinput test suite 7 libinput's primary test suite can be invoked with 11 $ sudo ./builddir/libinput-test-suite 13 When developing libinput, the ``libinput-test-suite`` should always be 14 run to check for behavior changes and/or regressions. For quick iteration, 15 the number of tests to run can be filtered, see :ref:`test-filtering`. 17 touchpad tap-to-click) while hacking on that specific feature and only run 20 .. note:: The test suite relies on udev and the kernel, specifically uinput. 22 interfere with your running session. The test suite is not suitable [all …]
|
| /third_party/mbedtls/docs/architecture/ |
| D | psa-crypto-implementation-structure.md | 6 …tography API specification](https://armmbed.github.io/mbed-crypto/psa/#application-programming-int… 15 … dispatching to software and hardware implementations are consequently easier to test and validate. 47 * clean-up in case of error ... */ 52 …ic ones are generated in a psa_crypto_driver_wrappers.h header file, the non-static ones are gener… 56 …-processor directives based on PSA_WANT_xyz macros (see [Conditional inclusion of cryptographic me… 61 1. Check the input parameters. 79 * [ ] PSA Crypto API draft, if not already done �� [PSA standardization](#psa-standardization) 80 …_values.h` or `include/psa/crypto_extra.h` �� [New functions and macros](#new-functions-and-macros) 81 …pto_config.h`, `tests/include/test/drivers/crypto_config_test_driver_extension.h` �� [Preprocessor… 82 * Occasionally `library/check_crypto_config.h` �� [Preprocessor symbols](#preprocessor-symbols) [all …]
|
| /third_party/ltp/ |
| D | README.md | 1 Linux Test Project 4 Linux Test Project is a joint project started by SGI, OSDL and Bull developed 11 libraries by bringing test automation to the testing effort. Interested open 14 Project pages are located at: http://linux-test-project.github.io/ 17 https://github.com/linux-test-project/ltp/releases 28 https://github.com/linux-test-project/ltp 45 If you have git, autoconf, automake, m4, pkgconf / pkg-config, libc headers, 50 $ git clone https://github.com/linux-test-project/ltp.git 56 Now you can continue either with compiling and running a single test or with 62 Shortcut to running a single test [all …]
|
| /third_party/openhitls/testcode/sdv/testcase/tls/consistency/tls12/ |
| D | test_suite_sdv_hlt_tls12_consistency_rfc8422.c | 11 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 41 * @test SDV_TLS_TLS12_RFC8422_CONSISTENCY_ECDHE_ECDSA_FUNC_TC001 88 * @test SDV_TLS_TLS12_RFC8422_CONSISTENCY_ECDHE_ECDSA_FUNC_TC002 136 * @test SDV_TLS_TLS12_RFC8422_CONSISTENCY_CURVE_AND_AUTH_FUNC_TC001 178 int ret = HLT_TlsConnect(clientRes->ssl); in SDV_TLS_TLS12_RFC8422_CONSISTENCY_CURVE_AND_AUTH_FUNC_TC001() 187 * @test SDV_TLS_TLS12_RFC8422_CONSISTENCY_CURVE_AND_AUTH_FUNC_TC002 188 * @spec - 228 int ret = HLT_TlsConnect(clientRes->ssl); in SDV_TLS_TLS12_RFC8422_CONSISTENCY_CURVE_AND_AUTH_FUNC_TC002() 286 * @test SDV_TLS_TLS12_RFC8422_CONSISTENCY_SET_CIPHERSUITES_FUNC_TC001 310 * @test SDV_TLS_TLS12_RFC8422_CONSISTENCY_SET_CIPHERSUITES_FUNC_TC002 [all …]
|
| /third_party/ltp/pan/cgi/ |
| D | reconsile.cgi | 4 # reconsile.cgi - reconsile two or more scanner files 17 # Give a warning if the suites do not match 22 print "Warning: Suites do not match!\n"; 27 # check that each requested result exists. If one does not exist, 32 if (-f "$a_result.scanner") { 55 $result_testcases->[$i] = (); 56 $result_details->[$i] = {}; 58 $result_details->[$i]->{HOST} = $host; 59 $result_details->[$i]->{DATESTR} = $datestr; 60 $result_details->[$i]->{SUITE} = $suite; [all …]
|
| /third_party/littlefs/scripts/ |
| D | test.py | 6 # ./scripts/test.py runners/test_runner -b 9 # SPDX-License-Identifier: BSD-3-Clause 38 def openio(path, mode='r', buffering=-1): 39 # allow '-' for stdin/stdout 40 if path == '-': 89 parens -= 1 100 # which can be comma-separated values, with optional 153 self.name = self.name[:-len('.toml')] 155 # load toml file and parse test cases 216 # combine per-case defines [all …]
|
| /third_party/lwip/test/unit/ |
| D | lwipopts.h | 2 * Copyright (c) 2001-2003 Swedish Institute of Computer Science. 43 /* We link to special sys_arch.c (for basic non-waiting API layers unit tests) */ 54 /* Enable DHCP to test it */ 76 /* Enable PPP and PPPOS support for PPPOS test suites */ 85 /* MIB2 stats are required to check IPv4 reassembly results */ 88 /* netif tests want to test this, so enable: */ 91 /* Check lwip_stats.mem.illegal instead of asserting */ 94 /* autodetect if we are running the tests on 32-bit or 64-bit */
|
12345678