From df1f20c93f9988acc8a433e9ed4b1be2a5579c84 Mon Sep 17 00:00:00 2001 From: pjotrp Date: Mon, 18 Jul 2016 18:27:41 +0600 Subject: Disabling tests --- gn/packages/elixir.scm | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'gn/packages') diff --git a/gn/packages/elixir.scm b/gn/packages/elixir.scm index 3545548..c1ff3e4 100644 --- a/gn/packages/elixir.scm +++ b/gn/packages/elixir.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016 Pjotr Prins ;;; Copyright © 2016 Leo Famulari +;;; Copyright © 2016 Pjotr Prins ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,13 +19,12 @@ (define-module (gn packages elixir) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module (guix packages) + #:use-module (gnu packages) #:use-module (gnu packages erlang) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages perl) - #:use-module (gnu packages tls)) + #:use-module (gnu packages version-control)) (define-public elixir (package @@ -39,23 +38,25 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jsc6kl7f74yszcypdv3w3vhyc9qfqav8nwc41in082m0vpfy95y")))) + "0jsc6kl7f74yszcypdv3w3vhyc9qfqav8nwc41in082m0vpfy95y")) + (patches (list (search-patch "elixir-disable-failing-tests.patch"))))) (build-system gnu-build-system) (inputs - `(("erlang" ,erlang))) + `(("erlang" ,erlang) + ("git" ,git))) (arguments `(#:phases (modify-phases %standard-phases (delete 'configure) - ; (replace 'check - ; (lambda _ - ; (zero? (system* "make" "test")))) + (replace 'check + (lambda _ + (zero? (system* "make" "test")))) (add-before 'build 'rewrite-path (lambda* (#:key inputs #:allow-other-keys) (substitute* "bin/elixir" (("ERL_EXEC=\"erl\"") (string-append "ERL_EXEC=" (which "erl"))))))) #:make-flags (list (string-append "PREFIX=" %output)) - #:tests? #f)) ;; 3115 tests, 14 failures + #:tests? #t)) ;; 3124 tests, 11 failures, 1 skipped (home-page "http://elixir-lang.org/") (synopsis "The Elixir programming language") -- cgit v1.2.3