Searched +full:scripts +full:- +full:tests (Results 1 – 25 of 107) sorted by relevance
12345
/Zephyr-Core-3.4.0/tests/bsim/ |
D | README.md | 1 This folder contains tests meant to be run with BabbleSim's physical layer 4 The compile.sh and run_parallel.sh scripts are used by the CI system to build 5 the needed images and execute these tests in batch. 11 WORK_DIR=${ZEPHYR_BASE}/bsim_out tests/bsim/compile.sh 12 RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml SEARCH_PATH=tests/bsim tests/bsim/run_parallel.sh 15 Or to run only a specific subset, e.g. host advertising tests: 18 WORK_DIR=${ZEPHYR_BASE}/bsim_out tests/bsim/bluetooth/host/compile.sh 20 SEARCH_PATH=tests/bsim/bluetooth/host/adv tests/bsim/run_parallel.sh 24 tests in batch. 26 After building the tests' required binaries you can run a test directly with its individual [all …]
|
/Zephyr-Core-3.4.0/.github/workflows/ |
D | twister_tests.yml | 2 # SPDX-License-Identifier: Apache-2.0 9 - main 10 - v*-branch 12 - 'scripts/pylib/twister/**' 13 - 'scripts/twister' 14 - 'scripts/tests/twister/**' 15 - '.github/workflows/twister_tests.yml' 18 - main 19 - v*-branch 21 - 'scripts/pylib/twister/**' [all …]
|
D | scripts_tests.yml | 2 # SPDX-License-Identifier: Apache-2.0 4 name: Scripts tests 9 - main 10 - v*-branch 12 - 'scripts/build/**' 13 - '.github/workflows/scripts_tests.yml' 16 - main 17 - v*-branch 19 - 'scripts/build/**' 20 - '.github/workflows/scripts_tests.yml' [all …]
|
D | west_cmds.yml | 2 # SPDX-License-Identifier: Apache-2.0 4 name: Zephyr West Command Tests 9 - main 10 - v*-branch 12 - 'scripts/west-commands.yml' 13 - 'scripts/west_commands/**' 14 - '.github/workflows/west_cmds.yml' 17 - main 18 - v*-branch 20 - 'scripts/west-commands.yml' [all …]
|
D | devicetree_checks.yml | 3 # SPDX-License-Identifier: Apache-2.0 5 name: Devicetree script tests 10 - main 11 - v*-branch 13 - 'scripts/dts/**' 14 - '.github/workflows/devicetree_checks.yml' 17 - main 18 - v*-branch 20 - 'scripts/dts/**' 21 - '.github/workflows/devicetree_checks.yml' [all …]
|
D | footprint.yml | 6 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 7 cancel-in-progress: true 10 footprint-delta: 11 runs-on: ubuntu-22.04 12 if: github.repository == 'zephyrproject-rtos/zephyr' 14 image: ghcr.io/zephyrproject-rtos/ci:v0.26.4 15 options: '--entrypoint /bin/bash' 17 fail-fast: false 19 ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1 22 - name: Apply container owner mismatch workaround [all …]
|
D | twister.yaml | 1 name: Run tests with twister 6 - main 7 - v*-branch 10 - main 11 - v*-branch 14 - cron: '0 3 * * 0' 17 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 18 cancel-in-progress: true 21 twister-build-prep: 22 if: github.repository_owner == 'zephyrproject-rtos' [all …]
|
/Zephyr-Core-3.4.0/scripts/tests/twister/ |
D | test_testsuite.py | 4 # SPDX-License-Identifier: Apache-2.0 6 Tests for testinstance class 14 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 20 ("testsuites/tests/test_ztest.c", 31 ("testsuites/tests/test_a/test_ztest_error.c", 39 ("testsuites/tests/test_a/test_ztest_error_1.c", 47 ("testsuites/tests/test_d/test_ztest_error_register_test_suite.c", 65 …(ZEPHYR_BASE, '.', 'test_c', 'Tests should reference the category and subsystem with a dot as a se… 66 …(os.path.join(ZEPHYR_BASE, '/scripts/tests'), '.', '', 'Tests should reference the category and su… 70 '''Test to check if tests reference the category and subsystem with a dot as a separator''' [all …]
|
D | README.md | 3 Running the tests require the environment variable ZEPHYR_BASE to be set. 5 …er Testsuite are located in $ZEPHYR_BASE/scripts/tests directory with all the data files in $ZEPHY… 12 pip install -r $ZEPHYR_BASE/scripts/requirements-build-test.txt 20 pytest $ZEPHYR_BASE/scripts/tests/twister 25 The coverage for all the tests can be run using the command below. This will collect all the tests … 28 coverage run -m pytest $ZEPHYR_BASE/scripts/tests/twister/ 34 coverage report -m $ZEPHYR_BASE/scripts/pylib/twister/ 40 coverage report -m $ZEPHYR_BASE/scripts/twister 49 If needed,the full coverage html report can be generated in every run of "pytest" in the tests dire… 51 ## Organization of tests [all …]
|
D | test_testplan_class.py | 4 # SPDX-License-Identifier: Apache-2.0 14 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 30 tests_rel_dir = 'scripts/tests/twister/test_data/testsuites/tests/' 178 …("run_individual_tests", ['scripts/tests/twister/test_data/testsuites/tests/test_a/test_a.check_1'… 211 (20, 20, -1, 0), 212 (-2, -1, 10, 20), 262 …'demo_board_1/scripts/tests/twister/test_data/testsuites/tests/test_a/test_a.check_1' : 'a1 on boa… 263 …'demo_board_3/scripts/tests/twister/test_data/testsuites/tests/test_a/test_a.check_1' : 'a1 on boa… 267 …'demo_board_2/scripts/tests/twister/test_data/testsuites/tests/test_a/test_a.check_2' : 'a2 and c2… 268 …'demo_board_1/scripts/tests/twister/test_data/testsuites/tests/test_d/test_d.check_1' : 'all test_… [all …]
|
D | test_twister.py | 4 # SPDX-License-Identifier: Apache-2.0 16 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 23 """ Test to check if loading the non-existent files raises the errors """ 30 [("testsuite_correct_schema.yaml", "testsuite-schema.yaml"), 31 ("platform_correct_schema.yaml", "platform-schema.yaml")]) 35 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema) 42 [("testsuite_incorrect_schema.yaml", "testsuite-schema.yaml"), 43 ("platform_incorrect_schema.yaml", "platform-schema.yaml")]) 47 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema) 54 …filename = Path(ZEPHYR_BASE) / "scripts/tests/twister/test_data/testsuites/tests/test_config/test_… [all …]
|
D | conftest.py | 4 # SPDX-License-Identifier: Apache-2.0 13 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 14 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts")) 27 data = ZEPHYR_BASE + "/scripts/tests/twister/test_data/" 33 return ZEPHYR_BASE + "/scripts/tests/twister/test_data/testsuites" 42 env.test_roots = [os.path.join(testsuites_dir, 'tests', testsuites_dir, 'samples')] 53 env.test_roots = [testsuites_dir + '/tests', testsuites_dir + '/samples']
|
D | test_testinstance.py | 4 # SPDX-License-Identifier: Apache-2.0 5 # pylint: disable=line-too-long 7 Tests for testinstance class 15 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 38 …testsuite = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/tests/test_a… 78 …testcase = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/samples/test_… 93 …testcase = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/samples/test_… 103 …,stm32-flash-controller") or dt_compat_enabled("st,stm32h7-flash-controller")) and dt_label_with_p… 104 …-partitions")) or (CONFIG_FLASH_HAS_DRIVER_ENABLED and CONFIG_TRUSTED_EXECUTION_NONSECURE and dt_l…
|
/Zephyr-Core-3.4.0/scripts/ci/ |
D | twister_ignore.txt | 6 # run on changed tests or boards. 10 .clang-format 20 tests/* 46 scripts/ci/twister_ignore.txt 47 scripts/ci/what_changed.py 48 scripts/ci/version_mgr.py 49 scripts/requirements* 50 scripts/checkpatch/* 51 scripts/checkpatch.pl 52 scripts/ci/pylintrc [all …]
|
/Zephyr-Core-3.4.0/ |
D | .gitignore | 14 !scripts/build 15 !tests/drivers/build_all 16 !scripts/pylib/build_helpers 23 # no suitable out-of-tree directory is found. 27 outdir-* 28 scripts/basic/fixdep 29 scripts/gen_idt/gen_idt 37 doc/themes/zephyr-docs-theme 38 sanity-out* 39 twister-out* [all …]
|
D | CODEOWNERS | 3 # https://help.github.com/en/articles/about-code-owners#codeowners-syntax 19 /arch/arc/ @abrodkin @ruuddw @evgeniy-paltsev 29 /soc/arc/snps_*/ @abrodkin @ruuddw @evgeniy-paltsev 41 /soc/arm/cypress/ @ifyall @npal-cy 44 /soc/arm/infineon_cat1/ @ifyall @npal-cy 54 /soc/arm/silabs_exx32/efr32mg21/ @l-alfred 60 /soc/arm/ti_simplelink/msp432p4xx/ @Mani-Sadhasivam 66 /soc/arm64/bcm_vk/ @abhishek-brcm 74 /submanifests/* @mbolivar-nordic 77 /arch/posix/ @aescolar @daor-oti [all …]
|
D | MAINTAINERS.yml | 45 # files-regex: 56 # files-exclude: 59 # files-regex-exclude: 60 # Like 'files-regex', but any matching files will be excluded from the 63 # description: >- 64 # Plain-English description. Describe what the system is about, from an 68 # All areas must have a 'files' and/or 'files-regex' key. The other keys are 72 # this would be sub-areas which add extra fields (for ex. more `collaborators` 73 # who work only in that sub-area) to other areas. 98 # Collaborators: <list of sub-maintainers> [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/ |
D | README.rst | 1 Bluetooth mesh BabbleSim tests 4 This directory contains a set of high level system tests for the Bluetooth mesh 5 subsystem. The tests run on the BabbleSim simulator, using the BabbleSim test 8 Tests are organized into bash scripts under the test_scripts folder. Each 9 subfolder of test_scripts contains tests for a specific module in the Bluetooth 11 src/ directory containing the necessary test harnesses to execute the tests. 14 tests. The test application is built from this directory, and includes all test 16 to use at runtime, using the test identifiers passed in the test scripts. 18 Running the tests 21 The Bluetooth mesh tests have no extra requirements, and can be run using the [all …]
|
/Zephyr-Core-3.4.0/scripts/net/ |
D | README.txt | 1 The shell script run-sample-tests.sh runs selected Zephyr samples against 2 the network test applications Docker container provided by the 'net-tools' 3 Zephyr project, https://github.com/zephyrproject-rtos/net-tools. 10 'net-tools' Docker container has been created, see the first bullet point 11 at the net-tools Docker README file 12 https://github.com/zephyrproject-rtos/net-tools/blob/master/README.docker. 17 * Check out the net-tools project from github or update it with west 18 * Change working directory to the net-tools repository 20 * Run 'docker build -t net-tools .' 22 This creates a Docker image called 'net-tools' which the script will need as [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/edtt/ |
D | README.txt | 4 This is the embedded side of the BLE conformance tests which are part of the 15 tests to switch between theses. 17 The first application is used for LL and HCI conformance tests of the 19 The second application for GATT tests. 43 To run these sets of tests you need to compile both of these applications as any 48 To run the tests you can either run one of the provided scripts, or run by 50 The shortest path is to use the provided scripts. 54 cd ${ZEPHYR_BASE} && source zephyr-env.sh 56 WORK_DIR=${ZEPHYR_BASE}/bsim_out tests/bsim/bluetooth/ll/compile.sh 58 #run all tests [all …]
|
/Zephyr-Core-3.4.0/doc/develop/test/ |
D | twister.rst | 10 The default options will build the majority of the tests on a defined set of 14 In normal use, twister runs a limited set of kernel tests (inside 18 tests for different boards and different configurations to help keep the 21 When using (at least) one ``-v`` option, twister's console output 26 - The test is marked as ``build_only: true`` in its ``.yaml`` 28 - The test configuration has defined a ``harness`` but you don't have 30 - The target device is not connected and not available for flashing 31 - You or some higher level automation invoked twister with 32 ``--build-only``. 38 .. group-tab:: Linux [all …]
|
/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/ |
D | README.rst | 6 ------------ 9 separately by pip. When Twister uses this plugin for pytest tests, it updates 11 `-p twister_harness.plugin` argument. 15 ----- 19 .. code-block:: sh 24 ./scripts/twister -p native_posix -p qemu_x86 -T samples/subsys/testsuite/pytest/shell 27 …./scripts/twister -p nrf52840dk_nrf52840 --device-testing --device-serial /dev/ttyACM0 -T samples/… 31 .. code-block:: sh 33 export PYTHONPATH=${ZEPHYR_BASE}/scripts/pylib/pytest-twister-harness/src:${PYTHONPATH} 38 west build -p -b native_posix -- -DCONFIG_NATIVE_UART_0_ON_STDINOUT=y [all …]
|
/Zephyr-Core-3.4.0/samples/net/sockets/coap_server/ |
D | docker-test.sh | 2 # SPDX-License-Identifier: Apache-2.0 4 if [ -z "$RUNNING_FROM_MAIN_SCRIPT" ]; then 6 echo "Run $ZEPHYR_BASE/scripts/net/run-sample-tests.sh instead." 12 start_docker "/net-tools/libcoap/examples/etsi_coaptest.sh -i eth0 192.0.2.1" \
|
/Zephyr-Core-3.4.0/samples/net/sockets/echo_client/ |
D | docker-test.sh | 2 # SPDX-License-Identifier: Apache-2.0 4 if [ -z "$RUNNING_FROM_MAIN_SCRIPT" ]; then 6 echo "Run $ZEPHYR_BASE/scripts/net/run-sample-tests.sh instead." 10 start_configuration "--ip=192.0.2.1 --ip6=2001:db8::1" || return $? 11 start_docker "/net-tools/echo-server -i eth0" || return $? 13 start_zephyr "$overlay" "-DCONFIG_NET_SAMPLE_SEND_ITERATIONS=10"
|
/Zephyr-Core-3.4.0/samples/net/sockets/echo_server/ |
D | docker-test.sh | 2 # SPDX-License-Identifier: Apache-2.0 4 if [ -z "$RUNNING_FROM_MAIN_SCRIPT" ]; then 6 echo "Run $ZEPHYR_BASE/scripts/net/run-sample-tests.sh instead." 13 start_docker "/net-tools/echo-client -i eth0 192.0.2.1" \ 14 "/net-tools/echo-client -i eth0 2001:db8::1" \ 15 "/net-tools/echo-client -i eth0 192.0.2.1 -t" \ 16 "/net-tools/echo-client -i eth0 2001:db8::1 -t"
|
12345