Home
last modified time | relevance | path

Searched +full:twister +full:- +full:out (Results 1 – 25 of 77) sorted by relevance

1234

/Zephyr-latest/.github/workflows/
Dtwister.yaml1 name: Run tests with twister
6 - main
7 - v*-branch
8 - collab-*
11 - main
12 - v*-branch
13 - collab-*
16 - cron: '0 17 * * 6'
19 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
20 cancel-in-progress: true
[all …]
Dhello_world_multiplatform.yaml6 - main
7 - v*-branch
8 - collab-*
11 - main
12 - v*-branch
13 - collab-*
15 - 'scripts/**'
16 - '.github/workflows/hello_world_multiplatform.yaml'
17 - 'SDK_VERSION'
20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
[all …]
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md5 script for [Twister](https://docs.zephyrproject.org/latest/develop/test/twister.html)
9 with explicit scheme having all required Twister JSON report objects associated
11 Besides, it allows to track changes in Twister JSON report scheme
17 For other command line options and more details run the upload script with `--help`,
21 in the current Twister report format and in the upload script itself.
24 It is recommended to try the upload script with `--dry-run` option first
36 python3 ./scripts/ci/upload_test_results_es.py --create-index \
37 --index YOUR_INDEX_NAME \
38 --map-file YOUR_INDEX_MAP.json
44 The upload script has several command line options to change `twister.json` data:
[all …]
/Zephyr-latest/doc/develop/test/twister/
Dsample_blackbox_test.py4 # SPDX-License-Identifier: Apache-2.0
25 apath = os.path.join(ZEPHYR_BASE, "scripts", "twister")
45 # Set flags for our Twister command as a list of strs
52 ["-i", "--outdir", out_path, "-T", path, "-y"]
54 + ["--level", level]
56 + ["--test-config", config_path]
60 for pair in zip(["-p"] * len(test_platforms), test_platforms, strict=False)
65 # First, provide the args variable as our Twister command line arguments.
70 # Execute the Twister call itself.
73 # Check whether the Twister call succeeded
[all …]
Dtwister_blackbox.rst3 Twister blackbox tests
9 important for any Twister developer.
14 Twister blackbox tests are written in python, using the ``pytest`` library.
20 Blackbox tests should not be aware of the internal twister code. Instead, they should
21 call twister as user would and check the results.
35 .. code-block:: console
37 twister -i --outdir $OUTDIR -T $TEST_DATA/tests -y --level $LEVEL
38 --test-config $TEST_DATA/test_config.yaml -p qemu_x86 -p frdm_k64f
40 It presumes a CLI with the ``zephyr-env.sh`` or ``zephyr-env.cmd`` already run.
42 Such a test provides us with all the outputs we typically expect of a Twister run thanks to
[all …]
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_report.py2 # Copyright (c) 2023-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions
20 # pylint: disable=no-name-in-module
34 'testplan.json', 'twister.json',
35 'twister.log', 'twister_report.xml',
36 'twister_suite_report.xml', 'twister.xml'
55 ['--report-name', 'abcd'],
64 ['--report-name', '1234', '--platform-reports'],
74 ['--report-name', 'Final', '--platform-reports', '--report-suffix=Test'],
[all …]
Dtest_device.py4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions related to test filtering.
16 # pylint: disable=no-name-in-module
36 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
59 args = ['--outdir', out_path, '-i', '-T', path, '-vv',] + \
60 ['--seed', f'{seed[0]}'] + \
62 ['-p'] * len(test_platforms), test_platforms
69 out, err = capfd.readouterr()
70 sys.stdout.write(out)
Dtest_disable.py4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions related to disable features.
26 '--disable-suite-name-check',
33 '-v',
42 '--disable-warnings-as-errors',
48 '-v',
56 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
71 'disable-suite-name-check',
72 'suite-name-check'
77 args = ['-i', '--outdir', out_path, '-T', test_path] + \
[all …]
Dtest_quarantine.py4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions related to the quarantine.
17 # pylint: disable=duplicate-code
25 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
38 quarantine_path = os.path.join(TEST_DATA, 'twister-quarantine-list.yml')
39 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
40 ['--quarantine-verify'] + \
41 ['--quarantine-list', quarantine_path] + \
43 ['-p'] * len(test_platforms), test_platforms
68 os.path.join(TEST_DATA, 'twister-quarantine-list.yml'),
[all …]
Dtest_tooling.py4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions related to Twister's tooling.
8 # pylint: disable=duplicate-code
25 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
43 args = ['-i', '--outdir', out_path, '-T', path] + \
44 ['--jobs', jobs] + \
46 ['-p'] * len(test_platforms), test_platforms
53 with open(os.path.join(out_path, 'twister.log')) as f:
64 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
65 ['--force-toolchain'] + \
[all …]
Dtest_addon.py4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions concerning addons to normal functions
26 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
41 (['--enable-ubsan'], '1')
49 args = ['-i', '--outdir', out_path, '-T', test_path] + \
53 ['-p'] * len(test_platforms), test_platforms
68 (['--enable-asan', '--enable-lsan'], '1')
76 args = ['-i', '--outdir', out_path, '-T', test_path] + \
80 ['-p'] * len(test_platforms), test_platforms
98 (['--enable-asan'], '1', True)
[all …]
Dtest_error.py4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions - simple does-error-out or not tests
16 # pylint: disable=no-name-in-module
48 '--overflow-as-errors',
55 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
74 args = ['-T', testroot]
75 args += ['-i', '--outdir', out_path, '--test', test, '-y'] + \
77 ['-p'] * len(test_platforms), test_platforms
101 args = ['--outdir', out_path, '-T', path, '-vv'] + \
102 ['--build-only'] + \
[all …]
Dconftest.py4 # SPDX-License-Identifier: Apache-2.0
6 '''Common fixtures for use in testing the twister tool.'''
20 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister"))
54 # See: https://github.com/pytest-dev/pytest/issues/5502
65 # It should be used as the `-O` (`--out_dir`) parameter in blackbox tests
77 out_container_path = tmp_path / 'blackbox-out-container'
79 out_path = os.path.join(out_container_path, "blackbox-out")
Dtest_hardwaremap.py4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions
17 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister/twisterlib"))
29 'DAPLink CMSIS-DAP',
30 'MBED CMSIS-DAP'
41 'J-Link',
42 'J-Link OB'
56 'STLINK-V3'
68 'TTL232R-3V3',
78 'DAPLink CMSIS-DAP',
[all …]
/Zephyr-latest/tests/bsim/
Dgenerate_coverage_report.sh3 # SPDX-License-Identifier: Apache-2.0
5 set -eu
9 _generate_coverage_report.sh [-help]
25 You can also merge in the twister coverage report by setting
27 TWISTER_COVERAGE_FILE=\${ZEPHYR_BASE}/twister-out/coverage.info
28 after having run twister, for example as
29 twister -p nrf52_bsim -T tests/bluetooth/ --coverage
36 if [ $# -ge 1 ]; then
37 if grep -Eiq "(\?|-\?|-h|help|-help|--help)" <<< $1 ; then
43 WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_out}"
[all …]
/Zephyr-latest/doc/develop/test/
Dtwister_statuses.rst3 Twister Status
6 What is a Twister Status?
9 Twister Status formulates the current state of
11 - ``Harness``
12 - ``TestCase``
13 - ``TestSuite``
14 - ``TestInstance``
16 in a comprehensive and easy-to understand way.
18 of Instances and Cases after the conclusion of their Twister runs.
28 ``Harness`` is a Python class inside Twister that allows us
[all …]
Dcoverage.rst51 .. zephyr-app-commands::
53 :gen-args: -DCONFIG_COVERAGE=y -DCONFIG_COVERAGE_DUMP=y
58 the emulator with :kbd:`Ctrl-A X` for this to complete after the coverage dump
61 .. code-block:: console
63 $ ninja -Cbuild run | tee log.log
67 .. code-block:: console
69 $ ninja -Cbuild run | tee log.log
74 .. code-block:: console
76 $ python3 scripts/gen_gcov_files.py -i log.log
82 .. code-block:: console
[all …]
Dtwister.rst3 Test Runner (Twister)
6 Twister scans for the set of test applications in the git repository
14 Because of the limited test execution coverage, twister
20 When using (at least) one ``-v`` option, twister's console output
24 of a test is likewise reported in the ``twister.json`` and other report files.
25 There are a few reasons why twister only builds a test and doesn't run it:
27 - The test is marked as ``build_only: true`` in its ``.yaml``
29 - The test configuration has defined a ``harness`` but you don't have
31 - The target device is not connected and not available for flashing
32 - You or some higher level automation invoked twister with
[all …]
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstwist.sh2 # Copyright (c) 2022-2024 Intel Corporation
3 # SPDX-License-Identifier: Apache-2.0
4 set -e
6 # Twister integration tool for a remote ssh-accessible cAVS audio DSP
8 # hook for both --device-serial-pty and --west-flash, for example:
15 # twister -p intel_adsp/cavs25 --device-testing \
16 # --device-serial-pty=$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstwist.sh \
17 # --west-flash=$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstwist.sh
19 # The CAVS_OLD_FLASHER is necessary because now the client-server-based
21 # the misc-flasher as the runner. Please remember to do the command
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_twister.py5 # SPDX-License-Identifier: Apache-2.0
7 This test file contains foundational testcases for Twister tool
18 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister"))
25 """ Test to check if loading the non-existent files raises the errors """
32 [("testsuite_correct_schema.yaml", "testsuite-schema.yaml"),
33 ("platform_correct_schema.yaml", "platform-schema.yaml")])
37 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema)
44 [("testsuite_incorrect_schema.yaml", "testsuite-schema.yaml"),
45 ("platform_incorrect_schema.yaml", "platform-schema.yaml")])
49 schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/schemas/twister//' + schema)
[all …]
Dtest_testplan.py2 # Copyright (c) 2020-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
7 This test file contains testsuites for testsuite.py module of twister
17 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister"))
29 """ Testing add_testcase function of Testsuite class in twister """
35 tests_rel_dir = 'scripts/tests/twister/test_data/testsuites/tests/'
58 """ Testing add_configurations function of TestPlan class in Twister
74 """ Testing get_all_testsuites function of TestPlan class in Twister """
95 """ Testing get_platforms function of TestPlan class in Twister """
116 …(None, None, "supported_toolchains", ['gcc', 'xcc', 'xt-clang'], "Not supported by the toolchain"),
[all …]
/Zephyr-latest/doc/_scripts/
Dgen_boards_catalog.py1 # Copyright (c) 2024-2025 The Linux Foundation
2 # SPDX-License-Identifier: Apache-2.0
109 """Gather EDT objects for each board from twister output directory.
112 twister_out_dir: Path object pointing to twister output directory
123 # Find all build_info.yml files in twister-out
157 """Run twister in cmake-only mode to generate build info files.
160 outdir: Directory where twister should output its files
164 f"{ZEPHYR_BASE}/scripts/twister",
165 "-T", "samples/hello_world/",
166 "--all",
[all …]
/Zephyr-latest/tests/subsys/zbus/hlp_priority_boost/
Dtestcase.yaml4 - fvp_base_revc_2xaemv8a/fvp_base_revc_2xaemv8a/smp/ns
5 # All Intel Audio DSP platforms have non-coherent cache
7 # out-of-sync between CPUs with multiple producer and
11 # twister as they are certain to fail.
12 - intel_adsp/ace15_mtpm/sim
13 - intel_adsp/ace15_mtpm
14 - intel_adsp/ace20_lnl/sim
15 - intel_adsp/ace20_lnl
16 - intel_adsp/ace30/ptl/sim
17 - intel_adsp/ace30/ptl
[all …]
/Zephyr-latest/tests/drivers/can/host/
DREADME.rst9 This test suite uses `python-can`_ for testing Controller Area Network (CAN) communication between a
10 host PC (running :ref:`Twister <twister_script>`) and a device under test (DUT) running Zephyr.
17 * The python-can library installed on the host PC.
25 the ``bitrate`` and ``bitrate-data`` CAN controller devicetree properties if needed. Default
29 The host end of the CAN fixture can be configured through python-can. Available configuration
30 options depend on the type of host CAN adapter used. The python-can library provides a lot of
31 flexibility for configuration as decribed in the `python-can configuration`_ page, all centered
35 * By default, the python-can configuration context is not specified, causing python-can to use the
38 ``:`` (i.e. specify fixture ``can:zcan0`` to use the ``zcan0`` python-can configuration context).
39 * The configuration context can be overridden using the ``--can-context`` test suite argument
[all …]
/Zephyr-latest/
D.gitignore25 # no suitable out-of-tree directory is found.
29 outdir-*
32 coverage-report
33 doc-coverage.info
41 doc/themes/zephyr-docs-theme
42 sanity-out*
43 twister-out*
55 hide-defaults-note

1234