document: twister: update documents for extra_args

now extra_args can support domain settings, add in doc.

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
Hake Huang 2024-09-26 04:50:39 +00:00 committed by Anas Nashif
parent c759068c40
commit c05e4802fb
1 changed files with 17 additions and 0 deletions

View File

@ -341,6 +341,23 @@ extra_args: <list of extra arguments>
Extra arguments to pass to build tool when building or running the
test scenario.
Using namespacing, it is possible to apply extra_args only to some
hardware. Currently architectures/platforms/simulation are supported:
.. code-block:: yaml
common:
tags: drivers adc
tests:
test:
depends_on: adc
test_async:
extra_args:
- arch:x86:CONFIG_ADC_ASYNC=y
- platform:qemu_x86:CONFIG_DEBUG=y
- platform:mimxrt1060_evk:SHIELD=rk043fn66hs_ctg
- simulation:qemu:CONFIG_MPU=y
extra_configs: <list of extra configurations>
Extra configuration options to be merged with a main prj.conf
when building or running the test scenario. For example: