Lines Matching +full:files +full:- +full:exclude

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
40 .. code-block:: bash
42 $ source zephyr-env.sh
45 .. group-tab:: Windows
47 .. code-block:: bat
49 zephyr-env.cmd
58 .. group-tab:: Linux
60 .. code-block:: bash
62 $ ./scripts/twister --all --enable-slow
64 .. group-tab:: Windows
66 .. code-block:: bat
68 python .\scripts\twister --all --enable-slow
74 the ``--platform`` option, it is a platform filter for testing, with this
77 you can use ``--platform board@revision`` to test on a specific revision.
83 .. group-tab:: Linux
85 .. code-block:: bash
87 $ ./scripts/twister --help
89 .. group-tab:: Windows
91 .. code-block:: bat
93 python .\scripts\twister --help
109 .. code-block:: yaml
112 name: NXP FRDM-K64F
116 - zephyr
117 - gnuarmemb
118 - xtools
120 - arduino_gpio
121 - arduino_i2c
122 - netif:eth
123 - adc
124 - i2c
125 - nvs
126 - spi
127 - gpio
128 - usb_device
129 - watchdog
130 - can
131 - pwm
141 .. code-block:: console
144 west build -b reel_board
146 cmake -DBOARD=reel_board ..
169 .. code-block:: yaml
172 - pci
177 .. code-block:: yaml
180 - netif:eth
181 - sensor:bmi16
205 power-efficient but slow CPU or simulation platform which can perform instruction accurate
212 files in the application's project directory. This file may contain one or more
249 .. code-block:: yaml
268 .. code-block:: yaml
299 Don't run this test case unless ``--enable-slow`` or ``--enable-slow-only`` was
300 passed in on the command line. Intended for time-consuming test cases that
312 .. code-block:: yaml
321 - CONFIG_ADC_ASYNC=y
326 .. code-block:: yaml
335 - arch:x86:CONFIG_ADC_ASYNC=y
336 - platform:qemu_x86:CONFIG_DEBUG=y
362 test will be selectable using the command line option ``--level <level name>``
392 invoked with the ``--integration`` option. Use this instead of
408 the images onto the target. The ``--erase`` option of west flash is
426 - ztest
427 - test
428 - console
429 - pytest
430 - gtest
431 - robot
444 - keyboard
445 - net
446 - bluetooth
459 .. code-block:: yaml
462 - arch
463 - simulation
509 Specify a list of pytest directories, files or subtests that need to be executed
522 .. code-block:: yaml
533 - "Temperature:(.*)C"
534 - "Relative Humidity:(.*)%"
545 .. code-block:: yaml
553 - pytest_dir1
554 - $ENV_VAR/samples/test/pytest_dir2
558 - pytest/test_file_1.py
559 - test_file_2.py::test_A
560 - test_file_2.py::test_B[param_a]
564 .. code-block:: yaml
576 .. code-block:: none
592 .. code-block:: antlr
616 if the symbol is defined to a non-empty string.
623 * all comparison operators (non-associative)
628 .. code-block:: none
634 .. code-block:: none
642 .. code-block:: none
658 .. code-block:: yaml
663 - cdc-acm-console
664 - user-snippet-example
668 running with ``-v`` or examining the discard report
674 To update this, pass the ``--all --release`` options.
691 * ``--timeout-multiplier`` twister option which can be used to adjust timeouts in exact twister run.
703 be activated using the ``--integration`` option of twister and narrows down
713 supports running any out-of-tree custom emulator defined in the board's :file:`board.cmake`.
717 .. code-block:: yaml
727 .. code-block:: cmake
734 .. code-block:: cmake
761 .. group-tab:: Linux
763 .. code-block:: bash
765 scripts/twister --device-testing --device-serial /dev/ttyACM0 \
766 --device-serial-baud 115200 -p frdm_k64f -T tests/kernel
768 .. group-tab:: Windows
770 .. code-block:: bat
772 python .\scripts\twister --device-testing --device-serial COM1 \
773 --device-serial-baud 115200 -p frdm_k64f -T tests/kernel
775 The ``--device-serial`` option denotes the serial device the board is connected to.
777 only one board at a time, specified using the ``--platform`` option.
779 The ``--device-serial-baud`` option is only needed if your device does not run at
782 To support devices without a physical serial port, use the ``--device-serial-pty``
788 .. group-tab:: Linux
790 .. code-block:: bash
792 scripts/twister --device-testing --device-serial-pty "script.py" \
793 -p intel_adsp_cavs25 -T tests/kernel
795 .. group-tab:: Windows
801 The script is user-defined and handles delivering the messages which can be
804 The ``--device-flash-timeout`` option allows to set explicit timeout on the
808 The ``--device-flash-with-test`` option indicates that on the platform
822 .. group-tab:: Linux
824 .. code-block:: bash
826 ./scripts/twister --generate-hardware-map map.yml
828 .. group-tab:: Windows
830 .. code-block:: bat
832 python .\scripts\twister --generate-hardware-map map.yml
839 .. group-tab:: Linux
841 .. code-block:: yaml
843 - connected: true
846 product: DAPLink CMSIS-DAP
849 - connected: true
852 product: J-Link
856 .. group-tab:: Windows
858 .. code-block:: yaml
860 - connected: true
866 - connected: true
881 .. group-tab:: Linux
883 .. code-block:: yaml
885 - connected: true
888 product: DAPLink CMSIS-DAP
892 - connected: true
895 product: J-Link
900 .. group-tab:: Windows
902 .. code-block:: yaml
904 - connected: true
907 product: DAPLink CMSIS-DAP
911 - connected: true
914 product: J-Link
929 .. group-tab:: Linux
931 .. code-block:: bash
933 ./scripts/twister --device-testing --hardware-map map.yml -T samples/hello_world/
935 .. group-tab:: Windows
937 .. code-block:: bat
939 python .\scripts\twister --device-testing --hardware-map map.yml -T samples\hello_world
951 Hardware map allows to set ``--device-flash-timeout`` and ``--device-flash-with-test``
952 command line options as ``flash-timeout`` and ``flash-with-test`` fields respectively.
955 Serial PTY support using ``--device-serial-pty`` can also be used in the
958 .. code-block:: yaml
960 - connected: true
967 - --remote-host=remote_host_ip_addr
968 - --key=/path/to/key.pem
977 .. group-tab:: Linux
979 .. code-block:: bash
981 west flash --remote-host remote_host_ip_addr --key /path/to/key.pem
983 twister -p intel_adsp_cavs25 --device-testing --device-serial-pty script.py
984 --west-flash="--remote-host=remote_host_ip_addr,--key=/path/to/key.pem"
986 .. group-tab:: Windows
994 For serial PTY, the "--generate-hardware-map" option cannot scan it out
1010 .. code-block:: yaml
1012 - connected: true
1014 - gpio_loopback
1017 product: DAPLink CMSIS-DAP
1021 When running ``twister`` with ``--device-testing``, the configured fixture
1026 :figclass: align-center
1028 Fixtures can also be provided via twister command option ``--fixture``, this option
1040 .. code-block:: yaml
1042 - connected: false
1044 - gpio_loopback
1052 product: J-Link
1059 When (re-)generated the hardware map file will contain an ``id`` keyword
1060 that serves as the argument to ``--board-id`` when flashing. In some
1062 using an external J-Link probe. The ``probe_id`` keyword overrides the
1065 .. code-block:: yaml
1067 - connected: false
1071 product: DAPLink CMSIS-DAP
1078 Twister allows user to provide onfiguration files defining a list of tests or
1085 ``--quarantine-list <PATH_TO_QUARANTINE_YAML>`` to a twister call.
1086 Multiple quarantine files can be used.
1088 ``--quarantine-verify`` to the above argument. This will make twister skip all tests
1104 .. code-block:: yaml
1106 - scenarios:
1107 - sample.basic.helloworld
1108 comment: "Link to the issue: https://github.com/zephyrproject-rtos/zephyr/pull/33287"
1110 - scenarios:
1111 - kernel.common
1112 - kernel.common.(misra|tls)
1113 - kernel.common.nano64
1115 - .*_cortex_.*
1116 - native_posix
1118 To exclude a platform, use the following syntax:
1120 .. code-block:: yaml
1122 - platforms:
1123 - qemu_x86
1153 - Ability to ignore default platforms as defined in board definitions
1156 - Option to specify your own list of default platforms overriding what
1158 - Ability to override `build_onl_all` options used in some testcases.
1161 - Ignore some logic in twister to expand platform coverage in cases where
1170 - `override_default_platforms`: override default key a platform sets in board
1174 - `increased_platform_scope`: This option is set to True by default, when
1177 - `default_platforms`: A list of additional default platforms to add. This list
1183 .. code-block:: yaml
1189 - qemu_x86
1205 .. code-block:: yaml
1208 - name: my-test-level
1212 - kernel.threads.*
1213 - kernel.timer.behavior
1214 - arch.interrupt
1215 - boards.*
1225 .. code-block:: yaml
1230 - frdm_k64f
1232 - name: smoke
1235 - name: unit
1238 - name: integration
1241 - name: acceptance
1244 - name: system
1247 - name: regression
1257 .. group-tab:: Linux
1259 .. code-block:: bash
1261 scripts/twister --test-config=<path to>/test_config.yaml
1262 -T tests --level="smoke"
1271 the seed to the random number generator by providing ``-seed=value`` as an
1279 Robot files allow you to express interactive test scenarios in human-readable text format and execu…
1286 .. group-tab:: Linux
1288 .. code-block:: bash
1290 …$ ./scripts/twister --platform hifive1 --test samples/subsys/shell/shell_module/sample.shell.shell…
1292 .. group-tab:: Windows
1294 .. code-block:: bat
1296 …python .\scripts\twister --platform hifive1 --test samples/subsys/shell/shell_module/sample.shell.…
1300 .. code-block:: bash
1302 …$ ROBOT_FILES=shell_module.robot west build -p -b hifive1 -s samples/subsys/shell/shell_module -t …
1312 …essed directly in Robot test suite files, as an external Python library or, like Renode does it, d…
1313 …ramework.org/robotframework/latest/RobotFrameworkUserGuide.html#extending-robot-framework>`_ secti…