mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-15 13:45:54 +02:00
quilt: Remove test workarounds.
* gnu/packages/patches/quilt-compat-getopt-fix-second-separator.patch, gnu/packages/patches/quilt-compat-getopt-fix-option-with-nondigit-param.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/patchutils.scm (quilt)[source]: Use them. [arguments]: Remove workarounds in 'patch-tests' phase.
This commit is contained in:
@@ -103,7 +103,9 @@ listing the files modified by a patch.")
|
||||
(sha256
|
||||
(base32
|
||||
"06b816m2gz9jfif7k9v2hrm7fz76zjg5pavf7hd3ifybwn4cgjzn"))
|
||||
(patches (search-patches "quilt-test-fix-regex.patch"))))
|
||||
(patches (search-patches "quilt-test-fix-regex.patch"
|
||||
"quilt-compat-getopt-fix-second-separator.patch"
|
||||
"quilt-compat-getopt-fix-option-with-nondigit-param.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("gettext" ,gnu-gettext)))
|
||||
@@ -122,16 +124,6 @@ listing the files modified by a patch.")
|
||||
'("test/run"
|
||||
"test/edit.test")
|
||||
(("/bin/sh") (which "sh")))
|
||||
(substitute* "test/create-delete.test"
|
||||
;; We'd rather use quilt's compat/getopt than declare a
|
||||
;; dependency on util-linux, but this test fails because of
|
||||
;; compat/getopt's handling of "---" in this test, so remove it
|
||||
;; for now.
|
||||
((" ---") ""))
|
||||
(substitute* '("test/empty-files.test" "test/faildiff.test")
|
||||
;; compat/getopt seems not to handle splitting of short opts
|
||||
;; from its arguments.
|
||||
(("-pab") "-p ab"))
|
||||
#t))
|
||||
(add-after 'install 'wrap-program
|
||||
;; quilt's configure checks for the absolute path to the utilities it
|
||||
|
||||
Reference in New Issue
Block a user