Skip to content

Commit bde1b95

Browse files
committed
fix: make minor corrections in the twister.md
1 parent 2e9f0e7 commit bde1b95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/development/twister.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ Some comments:
120120
- The `tests` section is where the actual Test Scenarios are defined. In the above example there are
121121
3: `app.prod`, `app.rtt` and `app.debug`. Test Scenario names must be strings, without space or
122122
special characters and they **must** have at least one dot. The convention is to use the dot to
123-
separate the Test Scenarios as per the folder structure and conditions that they are testing.
124-
**Test Scenarios must be unique across the whole repository**.
123+
separate the Test Scenarios by the folder structure and conditions that they are testing. **Test
124+
Scenarios must be unique across the whole repository**.
125125
- Each Test Scenario can have several fields that apply only to it.
126126
- `platform_allow` field lists a set of platforms that this Test Scenario should only be run for.
127127
This field in most of cases acts as a filter, however, this depends on how Twister is invoked. See
@@ -162,7 +162,7 @@ Some more important options are:
162162
you're just interested in the test plan generated for every run and saved in the specified output
163163
directory (`testplan.json`).
164164
- `--overflow-as-errors` - Treat FLASH/RAM/SRAM overflows as errors. **This one is important. If not
165-
used the test that overflows is considered to be skipped and not that it has failed.**
165+
used the test that overflows is considered to be skipped and not failed.**
166166
- `-v, --verbose` - Emit build logs, call multiple times to increase verbosity.
167167

168168
## The `twister-out` directory
@@ -242,10 +242,10 @@ east twister -T . -t some_tag -p nrf52dk/nrf52832 --build-only
242242

243243
In above example, only the `samples.bitshifter.with_tag` project will be built.
244244

245-
Note that a `sample.yaml` file can also have tags at the top level, which will apply the tag to all
245+
Note that a `sample.yaml` file can also have tags at the top level, which will apply them to all
246246
Test Scenarios defined in it.
247247

248-
### platform_allow acts as a list and not as a filter
248+
### Make `platform_allow` acts as a list and not as a filter
249249

250250
You want `platform_allow` to act as a list of platforms that Twister should consider and not as a
251251
filter, as you want to avoid the [scope presumption] behavior. You don't want to specify the

0 commit comments

Comments
 (0)