/Zephyr-latest/tests/benchmarks/sys_kernel/ |
D | README.txt | 5 The SysKernel test measures the performance of semaphore, 8 -------------------------------------------------------------------------------- 12 MODULE: kernel API test 15 Each test below is repeated 10 times; 18 TEST CASE: Semaphore #1 19 TEST COVERAGE: 23 Starting test. Please wait... 24 TEST RESULT: SUCCESSFUL 26 END TEST CASE 28 TEST CASE: Semaphore #2 [all …]
|
/Zephyr-latest/samples/tfm_integration/tfm_regression_test/ |
D | README.rst | 3 TF-M Regression Test Sample 9 Run both the Secure and Non-secure TF-M Regression tests using the Zephyr build system. 11 The build system will replace the Zephyr application with the Non-Secure TF-M test application, 12 while the Secure tests will be included in the TF-M build itself. 14 The TF-M regression tests are implemented in the tf-m-tests repo: https://git.trustedfirmware.org/T… 16 …tforms that are supported in the trusted-firmware-m repo: https://git.trustedfirmware.org/TF-M/tru… 22 Tests for both the secure and non-secure domain are enabled by default, controlled via the CONFIG_T… 27 Refer to :zephyr:code-sample:`tfm_ipc` for detailed instructions. 32 Refer to :zephyr:code-sample:`tfm_ipc` for detailed instructions. 35 .. code-block:: bash [all …]
|
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/ |
D | README.rst | 1 .. zephyr:code-sample:: number_crunching 17 .. code-block:: cmake 32 - :file:`main.c`: calls the generic math functions; 33 - :file:`math_ops.c`: executes the math functions, computes the cycles it took to execute and check… 34 - :file:`cmsis_dsp_wrapper.c`: calls the exact math functions from CMSIS-DSP if :kconfig:option:`CO… 35 - :file:`nature_dsp_wrapper`: if ``LIB_LOCATION`` is defined and points to an out of tree location … 42 CMSIS-DSP is an optional module and needs to be added explicitly to your Zephyr workspace: 44 .. code-block:: shell 46 west config manifest.project-filter -- +cmsis-dsp 47 west update cmsis-dsp [all …]
|
/Zephyr-latest/tests/cmake/snippets/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 10 # Snippet test types used by the test implementation to steer the test logic 12 prompt "Snippet Test Type" 16 bool "Test Type: None" 18 Test the initial state with no snippets applied. 21 bool "Test Type: Foo" 23 Test the `foo` snippet from the default application snippet root. 26 bool "Test Type: Bar" 28 Test the `bar` snippet from an extra snippet root. 31 bool "Test Type: Foo-Bar" [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/ |
D | README.rst | 5 subsystem. The tests run on the BabbleSim simulator, using the BabbleSim test 11 src/ directory containing the necessary test harnesses to execute the tests. 13 There's only a single test application for all the Bluetooth Mesh BabbleSim 14 tests. The test application is built from this directory, and includes all test 15 harnesses in every build. The overlying bsim test framework selects the harness 16 to use at runtime, using the test identifiers passed in the test scripts. 30 Individual test harnesses can be run outside of ``RunTest()`` by setting the 36 When running test applications independently, make sure to assign the original 37 device number with -dXXX to the process. 39 Example: To debug the ``transport_tx_seg_block`` test harness in the transport [all …]
|
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/ |
D | math_ops.c | 4 * SPDX-License-Identifier: Apache-2.0 21 if (abs(in_a[i] - in_b[i]) > threshold) { in test_near_equal_q15() 32 int ret = 1; /* test passed successfully */ in test_vec_sum_int16_op() 34 printk("[Library Test] == Vector Sum test ==\r\n"); in test_vec_sum_int16_op() 37 /* Run test function */ in test_vec_sum_int16_op() 44 printk("[Library Test] Vector Sum takes %d cycles\r\n", stop - start); in test_vec_sum_int16_op() 45 printk("[Library Test] == Vector Sum test end with %d ==\r\n\r\n", ret); in test_vec_sum_int16_op() 51 int ret = 1; /* test passed successfully */ in test_power_int16_op() 53 printk("[Library Test] == Vector power sum test ==\r\n"); in test_power_int16_op() 56 /* Run test function */ in test_power_int16_op() [all …]
|
/Zephyr-latest/tests/cmake/yaml/ |
D | CMakeLists.txt | 1 # SPDX-License-Identifier: Apache-2.0 10 message(STATUS "Run 1 -------------\n CMake PROJECT mode\n----------------------") 12 # Script mode initialization (re-run) 16 message(STATUS "Run 2 ------------\n CMake SCRIPT mode\n---------------------") 39 cmake_parse_arguments(TA_ARG "" "COMMENT" "TEST" ${ARGN}) 45 "Test: ${TA_ARG_TEST}\n" 53 yaml_get(actual NAME yaml-test KEY cmake test key-string) 55 test_assert(TEST ${expected} STREQUAL ${actual} 62 yaml_length(actual NAME yaml-test KEY cmake test key-list-string) 63 test_assert(TEST ${expected} EQUAL ${actual} [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/matrix/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "Test: Matrix Unary Q7" 8 bool "Test: Matrix Unary Q15" 11 bool "Test: Matrix Unary Q31" 14 bool "Test: Matrix Unary F16" 18 bool "Test: Matrix Unary F32" 21 bool "Test: Matrix Unary F64" 24 bool "Test: Matrix Binary Q7" 27 bool "Test: Matrix Binary Q15" 30 bool "Test: Matrix Binary Q31" [all …]
|
/Zephyr-latest/scripts/west_commands/tests/ |
D | conftest.py | 3 # SPDX-License-Identifier: Apache-2.0 11 RC_BUILD_DIR = '/test/build-dir' 12 RC_BOARD_DIR = '/test/zephyr/boards/test-arch/test-board' 13 RC_KERNEL_ELF = 'test-zephyr.elf' 14 RC_KERNEL_EXE = 'test-zephyr.exe' 15 RC_KERNEL_HEX = 'test-zephyr.hex' 16 RC_KERNEL_BIN = 'test-zephyr.bin' 17 RC_GDB = 'test-none-gdb' 18 RC_OPENOCD = 'test-openocd' 19 RC_OPENOCD_SEARCH = ['/test/openocd/search']
|
/Zephyr-latest/tests/lib/cmsis_dsp/transform/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "Test: Transform CQ15" 8 bool "Test: Transform RQ15" 11 bool "Test: Transform CQ31" 14 bool "Test: Transform RQ31" 17 bool "Test: Transform CF16" 21 bool "Test: Transform RF16" 25 bool "Test: Transform CF32" 28 bool "Test: Transform RF32" 31 bool "Test: Transform CF64" [all …]
|
/Zephyr-latest/subsys/testsuite/ztest/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 6 select TEST 14 int "Test function thread stack size" 33 Enable shell to manage test execution and selection. 40 which a 1cpu type test may execute on a multicpu system. The default 43 value. Please be aware that increasing it for long-running test cases 47 bool "Abort on first failing test" 49 Stop and abort on first failing test. Do not continue with other 64 default -2 if !PREEMPT_ENABLED 65 default -1 [all …]
|
/Zephyr-latest/samples/subsys/usb/testusb/ |
D | README.rst | 1 .. zephyr:code-sample:: testusb-app 3 :relevant-api: _usb_device_core_api 5 Test USB device drivers using a loopback function. 8 to test USB device drivers and the device stack connected to a Linux host 24 .. code-block:: console 30 .. code-block:: console 32 [21746.128743] usb 9-1: new full-speed USB device number 16 using uhci_hcd 33 [21746.303051] usb 9-1: New USB device found, idVendor=2fe3, idProduct=0009, bcdDevice= 2.03 34 [21746.303055] usb 9-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 35 [21746.303058] usb 9-1: Product: Zephyr testusb sample [all …]
|
/Zephyr-latest/subsys/net/pkt_filter/ |
D | ethernet.c | 4 * SPDX-License-Identifier: Apache-2.0 18 if ((addr1->addr[i] & mask->addr[i]) != in addr_mask_compare() 19 (addr2->addr[i] & mask->addr[i])) { in addr_mask_compare() 26 static bool addr_match(struct npf_test *test, struct net_eth_addr *pkt_addr) in addr_match() argument 29 CONTAINER_OF(test, struct npf_test_eth_addr, test); in addr_match() 30 struct net_eth_addr *addr = test_eth_addr->addresses; in addr_match() 31 struct net_eth_addr *mask = &test_eth_addr->mask; in addr_match() 32 unsigned int nb_addr = test_eth_addr->nb_addresses; in addr_match() 39 nb_addr--; in addr_match() 44 bool npf_eth_src_addr_match(struct npf_test *test, struct net_pkt *pkt) in npf_eth_src_addr_match() argument [all …]
|
/Zephyr-latest/tests/kernel/workq/work_queue/ |
D | README.txt | 1 Title: Test workqueue APIs 7 -------------------------------------------------------------------------------- 16 -------------------------------------------------------------------------------- 20 Problems caused by out-dated project information can be addressed by 27 # and restore pre-defined configuration info 29 -------------------------------------------------------------------------------- 32 ***** BOOTING ZEPHYR OS vxxxx - BUILD: xxxxx ***** 33 Starting sequence test 34 - Initializing test items 35 - Submitting test items [all …]
|
/Zephyr-latest/doc/develop/test/ |
D | ztest.rst | 1 .. _test-framework: 3 Test Framework 6 The Zephyr Test Framework (Ztest) provides a simple testing framework intended 8 test structure. 13 Creating a test suite 16 Using Ztest to create a test suite is as easy as calling the :c:macro:`ZTEST_SUITE`. The macro 19 * ``suite_name`` - The name of the suite. This name must be unique within a single binary. 20 * :c:type:`ztest_suite_predicate_t` - An optional predicate function to allow choosing when the 21 test will run. The predicate will get a pointer to the global state passed in through 23 * :c:type:`ztest_suite_setup_t` - An optional setup function which returns a test fixture. This [all …]
|
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/ |
D | ztest_test.h | 4 * SPDX-License-Identifier: Apache-2.0 43 * @brief The expected result of a test. 49 ZTEST_EXPECTED_RESULT_FAIL = 0, /**< Expect a test to fail */ 50 ZTEST_EXPECTED_RESULT_SKIP, /**< Expect a test to pass */ 60 const char *test_suite_name; /**< The test suite's name for the expectation */ 61 const char *test_name; /**< The test's name for the expectation */ 78 * @brief Expect a test to fail (mark it passing if it failed) 80 * Adding this macro to your logic will allow the failing test to be considered passing, example: 88 * @param _test_name The name of the test 94 * @brief Expect a test to skip (mark it passing if it failed) [all …]
|
/Zephyr-latest/tests/benchmarks/thread_metric/ |
D | thread_metric_readme.txt | 1 Thread-Metric RTOS Test Suite 4 1. Thread-Metric Test Suite 6 The Thread-Metric test suite consists of 8 distinct RTOS 8 of an RTOS. The test measures the total number of RTOS events 12 1.1. Basic Processing Test 14 This is the baseline test consisting of a single thread. This 15 should execute the same on every operating system. Test values 17 relative to the difference between the values of this test. 19 1.2. Cooperative Scheduling Test 21 This test consists of 5 threads created at the same priority that [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 14 extern struct bst_test_list *test_dfu_install(struct bst_test_list *test); 15 extern struct bst_test_list *test_blob_pst_install(struct bst_test_list *test); 16 extern struct bst_test_list *test_lcd_install(struct bst_test_list *test); 17 extern struct bst_test_list *test_sar_pst_install(struct bst_test_list *test); 18 extern struct bst_test_list *test_brg_install(struct bst_test_list *test); 20 extern struct bst_test_list *test_proxy_sol_install(struct bst_test_list *test); 23 extern struct bst_test_list *test_adv_install(struct bst_test_list *test); 24 extern struct bst_test_list *test_suspend_install(struct bst_test_list *test); 30 extern struct bst_test_list *test_suspend_install(struct bst_test_list *test); [all …]
|
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/rom_api/ |
D | sample.yaml | 10 - "Test Zephyr crypto hash API for multiblock plus remainder" 11 - "Test Zephyr crypto hash API for multiblock plus remainder returned 0" 12 - "Test Zephyr crypto arbitrary chunk size = \\d+" 13 - "Test Zephyr crypto arbitrary chunk size returned 0" 14 - "Test Zephyr crypto arbitrary chunk size = \\d+" 15 - "Test Zephyr crypto arbitrary chunk size returned 0" 16 - "Test Zephyr crypto arbitrary chunk size = \\d+" 17 - "Test Zephyr crypto arbitrary chunk size returned 0" 18 - "Application done"
|
/Zephyr-latest/tests/boards/espressif/wifi/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 4 mainmenu "Wi-Fi Test" 9 bool "Enable Wi-Fi test" 15 string "Wi-Fi Test SSID" 18 This option sets the SSID of the Wi-Fi network for testing. 19 It allows you to specify the Wi-Fi SSID that the device will 20 use during test scenarios. 23 string "Wi-Fi Test PSK" 26 This option sets the Pre-Shared Key (PSK) for the Wi-Fi network 27 during test scenarios. The device will use this password to authenticate [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ |
D | Kconfig.dtm | 4 # SPDX-License-Identifier: Apache-2.0 12 Enable support for Direct Test Mode in the Controller. 15 bool "Direct Test Mode over HCI" 19 Enable support for Direct Test Mode over the HCI transport. 24 bool "HCI LE Receiver Test v3" 27 Enable support for the DTM Receiver test command v3. 30 bool "HCI LE Transmitter Test v3" 33 Enable support for the DTM Transmitter test command v3. 36 bool "HCI LE Transmitter Test v4" 39 Enable support for the DTM Transmitter test command v4. [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | __assert.h | 2 * Copyright (c) 2011-2014 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 54 #define __ASSERT_LOC(test) \ argument 56 Z_STRINGIFY(test), \ 61 #define __ASSERT_LOC(test) \ argument 67 #define __ASSERT_LOC(test) \ argument 69 Z_STRINGIFY(test)) 73 #define __ASSERT_LOC(test) \ argument 97 * When the assert test mode is enabled, the default kernel fatal error handler 98 * and the custom assert hook function may return in order to allow the test to [all …]
|
/Zephyr-latest/tests/cmake/overlays/soc_folder_overlay/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 6 default "$(dt_alias_enabled,test-app)" 10 default "$(dt_alias_enabled,test-board)" 14 default "$(dt_alias_enabled,test-board-suffix)" 18 default "$(dt_alias_enabled,test-board-qualifiers)" 22 default "$(dt_alias_enabled,test-soc)" 26 default "$(dt_alias_enabled,test-soc-suffix)" 29 int "Test type"
|
/Zephyr-latest/subsys/testsuite/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 8 config TEST config 9 bool "Mark project as a test" 14 Mark a project or an application as a test. This will enable a few 15 test defaults. 18 int "Test function extra thread stack size" 22 depends on TEST 38 This option will build your application with the -coverage option 53 Build natively with the compiler standard `--coverage` options, 54 that is with gcov/GCC-compatible coverage [all …]
|
/Zephyr-latest/samples/drivers/espi/ |
D | sample.yaml | 8 - drivers 9 - espi 10 filter: dt_compat_enabled("microchip,mec15xx-board-power") 18 - "Hello eSPI test (.*)" 19 - "eSPI test - I/O initialization...complete" 20 - "eSPI slave configured successfully!" 21 - "eSPI test - callbacks initialization... complete" 22 - "eSPI test - Power initialization...complete" 23 - "eSPI BUS reset (.*)" 24 - "espi: Hello eSPI test mec1501modular_assy6885" [all …]
|