zephyr/tests/subsys
Ulf Magnusson eba81c6e54 yaml: Remove redundant document separators
YAML document separators are needed e.g. when doing

  $ cat doc1.yaml doc2.yaml | <parser>

For the bindings, we never parse concatenated documents. Assume we don't
for any other .yaml files either.

Having document separators in e.g. base.yaml makes !include a bit
confusing, since the !included files are merged and not separate
documents (the merging is done in Python code though, so it makes no
difference for behavior).

The replacement was done with

    $ git ls-files '*.yaml' | \
        xargs sed -i -e '${/\s*\.\.\.\s*/d;}' -e 's/^\s*---\s*$//'

First pattern removes ... at the end of files, second pattern clears a
line with a lone --- on it.

Some redundant blank lines at the end of files were cleared with

    $ git ls-files '*.yaml' | xargs sed -i '${/^\s*$/d}'

This is more about making sure people can understand why every part of a
binding is there than about removing some text.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-06-19 10:40:10 +02:00
..
can/frame
dfu tests: Added native POSIX to flash based tests 2019-05-28 21:14:19 -04:00
fs style: samples/tests: add braces around if/while statements 2019-06-06 15:20:21 +02:00
jwt
logging yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
settings subsys/settings: change processing to const char 2019-06-18 17:57:08 +02:00
shell/shell_history tests: shell: shell_history: Add more tests 2019-05-30 09:44:03 -04:00
storage/flash_map tests: flash_map: configure MPU to allow flash writes on twr_ke18f 2019-05-31 09:50:36 -05:00
usb tests: usb: device: Refactor device api test 2019-05-27 09:25:06 -04:00