gnu: gawk: Use regular bash to cope with test suite failures.
Fixes <https://issues.guix.gnu.org/51286>. * gnu/packages/gawk.scm (gawk): Remove trailing #t. [inputs]: Always use bash.
This commit is contained in:
parent
000291fd43
commit
daf54a3953
1 changed files with 5 additions and 9 deletions
|
@ -55,9 +55,7 @@
|
||||||
'((substitute* "extension/Makefile.in"
|
'((substitute* "extension/Makefile.in"
|
||||||
(("^.*: check-for-shared-lib-support" match)
|
(("^.*: check-for-shared-lib-support" match)
|
||||||
(string-append "### " match))))
|
(string-append "### " match))))
|
||||||
'())
|
'()))))
|
||||||
|
|
||||||
#t)))
|
|
||||||
|
|
||||||
(add-before 'check 'adjust-test-infrastructure
|
(add-before 'check 'adjust-test-infrastructure
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -80,14 +78,12 @@
|
||||||
;; against the actual test output.
|
;; against the actual test output.
|
||||||
(substitute* "test/watchpoint1.ok"
|
(substitute* "test/watchpoint1.ok"
|
||||||
(("#! /usr/bin/gawk")
|
(("#! /usr/bin/gawk")
|
||||||
(string-append "#!" (which "gawk"))))
|
(string-append "#!" (which "gawk")))))))))
|
||||||
#t)))))
|
|
||||||
|
|
||||||
(inputs `(("libsigsegv" ,libsigsegv)
|
(inputs `(("libsigsegv" ,libsigsegv)
|
||||||
|
;; Use the full-fledged Bash package, otherwise the test suite
|
||||||
,@(if (%current-target-system)
|
;; sometimes fail non-deterministically.
|
||||||
`(("bash" ,bash))
|
("bash" ,bash)))
|
||||||
'())))
|
|
||||||
|
|
||||||
(home-page "https://www.gnu.org/software/gawk/")
|
(home-page "https://www.gnu.org/software/gawk/")
|
||||||
(synopsis "Text scanning and processing language")
|
(synopsis "Text scanning and processing language")
|
||||||
|
|
Reference in a new issue