From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9TJN-0003dV-9V for guix-patches@gnu.org; Sat, 13 May 2017 05:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9TJK-0007Yt-3w for guix-patches@gnu.org; Sat, 13 May 2017 05:26:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9TJJ-0007Yi-VX for guix-patches@gnu.org; Sat, 13 May 2017 05:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d9TJJ-0005bz-Mk for guix-patches@gnu.org; Sat, 13 May 2017 05:26:01 -0400 Subject: bug#26889: Tests for emacs-clojure-mode Resent-Message-ID: From: Alex Kost References: <864f5ab5.AEAAKEHRjrgAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZFK4O@mailjet.com> <8737c97nmq.fsf@gnu.org> Date: Sat, 13 May 2017 12:25:10 +0300 In-Reply-To: (Arun Isaac's message of "Sat, 13 May 2017 10:38:22 +0530") Message-ID: <87d1bdxg5l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Arun Isaac Cc: 26889@debbugs.gnu.org Arun Isaac (2017-05-13 10:38 +0530) wrote: > Here is another patch set with the suggested changes incorporated. I think Ludovic meant you may commit these patches. One last comment from me... [...] > From: Arun Isaac > Date: Thu, 11 May 2017 23:28:53 +0530 > Subject: [PATCH 4/4] gnu: emacs-clojure-mode: Enable tests. > > * gnu/packages/emacs.scm (emacs-clojure-mode)[arguments]: Add 'check' phase. > [native-inputs]: Add emacs-dash, emacs-s and ert-runner. > --- > gnu/packages/emacs.scm | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index a9dd3db6c..4f5988b75 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -2876,6 +2876,16 @@ S-expression.") > (base32 > "117mvjqh4nm8mvmwmmvy4qmkdg23ldlzk08y91g8b8ac8kxwqg81")))) > (build-system emacs-build-system) > + (native-inputs > + `(("emacs-dash" ,emacs-dash) > + ("emacs-s" ,emacs-s) > + ("ert-runner" ,ert-runner))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'install 'check > + (lambda* (#:key inputs #:allow-other-keys) 'inputs' are not used, so just (lambda _ ...) here. > + (zero? (system* "ert-runner"))))))) > (home-page "https://github.com/clojure-emacs/clojure-mode") > (synopsis "Major mode for Clojure code") > (description -- Alex