diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-06-22 22:39:42 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-06-22 22:44:44 +0300 |
commit | aefdf93fc423a08eb41d09eecb5cd376183e1660 (patch) | |
tree | fd7c97e4911ad5fdb4b78f3fff02c96204c4d623 /testdata/repos | |
parent | RustCheck: check for suboptimal cargo_crate_uris call (diff) | |
download | pkgcheck-aefdf93fc423a08eb41d09eecb5cd376183e1660.tar.gz pkgcheck-aefdf93fc423a08eb41d09eecb5cd376183e1660.tar.bz2 pkgcheck-aefdf93fc423a08eb41d09eecb5cd376183e1660.zip |
MissingInherits: exclude @USER_VARIABLEs
Resolves: https://github.com/pkgcore/pkgcheck/issues/575
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'testdata/repos')
-rw-r--r-- | testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild | 2 | ||||
-rw-r--r-- | testdata/repos/eclass/eclass/stub.eclass | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild b/testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild index 9aa0432e..025d284c 100644 --- a/testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild +++ b/testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-2.ebuild @@ -11,5 +11,5 @@ src_prepare() { } inherit_public_func() { - echo "inherit_public_func" + echo "inherit_public_func" "${LARRY_EASTER_EGG}" } diff --git a/testdata/repos/eclass/eclass/stub.eclass b/testdata/repos/eclass/eclass/stub.eclass index b30f3f62..0fbb17ea 100644 --- a/testdata/repos/eclass/eclass/stub.eclass +++ b/testdata/repos/eclass/eclass/stub.eclass @@ -11,3 +11,9 @@ EXPORT_FUNCTIONS src_prepare # @DESCRIPTION: # Public src_prepare stub function. stub_src_prepare() { :; } + +# @ECLASS_VARIABLE: LARRY_EASTER_EGG +# @USER_VARIABLE +# @DEFAULT_UNSET +# @DESCRIPTION: +# A special user variable, an easter egg if you can find it. |