]> code.ossystems Code Review - openembedded-core.git/commit
yocto-compat-layer.py: allow README with suffix
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 27 Jun 2017 15:33:42 +0000 (17:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jul 2017 13:38:06 +0000 (14:38 +0100)
commit501b5b7f338396a4a115355b8a78ae5b03f67d9a
tree9228831c1a94b9a95f55584715d728e001e648df
parent1ca35d8571a92c7f8f80c909ca38666da82eb929
yocto-compat-layer.py: allow README with suffix

It may be useful to append a suffix denoting the file format. For
example, README.rst is rendered differently when viewed on Github, and
also helps editors to switch to a mode more suitable for the format.

The tests uses a file pattern to find the README file(s) and treats
the one with the shortest name as the main one which must not be
empty.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/compatlayer/cases/common.py