mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: beep: Run tests.
* gnu/packages/terminals.scm (beep)[arguments]: Remove #:tests? #f lie. Add a new 'patch-tests phase to make them pass.
This commit is contained in:
parent
f644a04320
commit
179ffc105e
1 changed files with 11 additions and 3 deletions
|
@ -573,13 +573,21 @@ (define-public beep
|
|||
(base32 "05c2gxfqc12rgp88c65q7f5ha9gzh222vdh0qpdq1zmyhqj43pq1"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no tests
|
||||
#:make-flags
|
||||
`(#:make-flags
|
||||
(list (string-append "prefix=" (assoc-ref %outputs "out"))
|
||||
(string-append "pkgdocdir=$(docdir)/" ,name "-" ,version))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)))) ; no configure script
|
||||
(delete 'configure) ; no configure script
|
||||
(add-before 'check 'patch-tests
|
||||
(lambda _
|
||||
(substitute* "GNUmakefile"
|
||||
(("/bin/bash")
|
||||
(which "bash")))
|
||||
(substitute* (find-files "tests" "\\.expected")
|
||||
;; The build environment lacks /dev/{console,tty*}.
|
||||
((": Permission denied")
|
||||
": No such file or directory")))))))
|
||||
(synopsis "Linux command-line utility to control the PC speaker")
|
||||
(description "beep allows the user to control the PC speaker with precision,
|
||||
allowing different sounds to indicate different events. While it can be run
|
||||
|
|
Loading…
Reference in a new issue