diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-11-02 20:57:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-03 11:12:26 +0000 |
commit | 3e9c4801216111496acffdfdccf1deae3b3d6b96 (patch) | |
tree | 0b911d9d499ec00083d3096f4db2a7d160ee3655 /meta/conf | |
parent | 97850bbc8ea2d2a21212f37055a934dc50ab9363 (diff) | |
download | poky-3e9c4801216111496acffdfdccf1deae3b3d6b96.tar.gz |
insane.bbclass: Add a check for directories that are expected to be empty
The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:<path>,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.
(From OE-Core rev: a454fda9c3d6b11cfdc54a49a7bb3f8a76a5ed58)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/documentation.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index 80ad8e10d5..45cd01374a 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -345,6 +345,8 @@ PYPI_SRC_URI[doc] = "The URI to use to fetch from pypi, default uses pythonhoste | |||
345 | 345 | ||
346 | #Q | 346 | #Q |
347 | 347 | ||
348 | QA_EMPTY_DIRS[doc] = "A list of directories that are expected to be empty." | ||
349 | QA_EMPTY_DIRS_RECOMMENDATION[doc] = "This specifies a recommendation for a directory why it must be empty, which will be included in the error message if the directory is not empty." | ||
348 | QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for use with qmake." | 350 | QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for use with qmake." |
349 | 351 | ||
350 | #R | 352 | #R |