mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: acl: Towards tests; enable infrastructure, but keep tests disabled
since they fail. * gnu/packages/acl.scm (acl): Correct test target, add inputs perl and sed, replace "/bin/sh" in perl test script.
This commit is contained in:
parent
aa3d901126
commit
3f2a772789
1 changed files with 15 additions and 6 deletions
|
@ -21,8 +21,9 @@
|
|||
(define-module (gnu packages acl)
|
||||
#:use-module (guix licenses)
|
||||
#:use-module (gnu packages attr)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu))
|
||||
|
@ -42,15 +43,23 @@ (define-public acl
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; FIXME: Investigate test suite failures
|
||||
#:test-target "tests"
|
||||
#:phases
|
||||
(alist-replace
|
||||
'install
|
||||
(alist-cons-after
|
||||
'build 'patch-exec-bin-sh
|
||||
(lambda _
|
||||
(zero? (system* "make" "install" "install-lib" "install-dev")))
|
||||
%standard-phases)))
|
||||
(substitute* "test/run"
|
||||
(("/bin/sh") (which "sh"))))
|
||||
(alist-replace
|
||||
'install
|
||||
(lambda _
|
||||
(zero? (system* "make" "install" "install-lib" "install-dev")))
|
||||
%standard-phases))))
|
||||
(inputs `(("attr" ,attr)))
|
||||
(native-inputs
|
||||
`(("gettext" ,gnu-gettext)))
|
||||
`(("gettext" ,gnu-gettext)
|
||||
("perl" ,perl)
|
||||
("sed" ,sed)))
|
||||
|
||||
(home-page
|
||||
"http://savannah.nongnu.org/projects/acl")
|
||||
|
|
Loading…
Reference in a new issue