Archived
1
0
Fork 0

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:
Maxim Cournoyer 2021-10-19 23:45:52 -04:00
parent 000291fd43
commit daf54a3953
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -55,9 +55,7 @@
'((substitute* "extension/Makefile.in"
(("^.*: check-for-shared-lib-support" match)
(string-append "### " match))))
'())
#t)))
'()))))
(add-before 'check 'adjust-test-infrastructure
(lambda _
@ -80,14 +78,12 @@
;; against the actual test output.
(substitute* "test/watchpoint1.ok"
(("#! /usr/bin/gawk")
(string-append "#!" (which "gawk"))))
#t)))))
(string-append "#!" (which "gawk")))))))))
(inputs `(("libsigsegv" ,libsigsegv)
,@(if (%current-target-system)
`(("bash" ,bash))
'())))
;; Use the full-fledged Bash package, otherwise the test suite
;; sometimes fail non-deterministically.
("bash" ,bash)))
(home-page "https://www.gnu.org/software/gawk/")
(synopsis "Text scanning and processing language")