• [gentoo-dev] [PATCH 1/9] eclass/elisp-common.eclass: add elisp-enable-t

    From =?UTF-8?q?Maciej=20Bar=C4=87?=@21:1/5 to All on Tue Apr 4 17:10:01 2023
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    ---
    eclass/elisp-common.eclass | 200 +++++++++++++++++++++++++++++++++++++
    1 file changed, 200 insertions(+)

    diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
    index 004db173f..0462f022d 100644
    --- a/eclass/elisp-common.eclass
    +++ b/eclass/elisp-common.eclass
    @@ -10,6 +10,7 @@
    # Mamoru Komachi <usata@gentoo.org>
    # Christian Faulhammer <fauli@gentoo.org>
    # Ulrich Müller <ulm@gentoo.org>
    +# Maciej Barć <xgqt@gentoo.org>
    # @SUPPORTED_EAPIS: 6 7 8
    # @BLURB: Emacs-related installation utilities
    # @DESCRIPTION:
    @@ -337,6 +338,205 @@ elisp-make-autoload-file() {
    eend $? "elisp-make-autoload-file: batch-update-autoloads failed" || die
    }

    +# @FUNCTION: elisp-test-buttercup
    +# @USAGE: [test-subdirectory] [test-runner-opts] ...
    +# @DESCRIPTION:
    +# Run ELisp package tests using the "buttercup" test runner.
    +#
    +# The option "test-subdirectory" may be given any number of times, it should +# be given as though it was passed to Emacs or the test tool, not as a string.