summaryrefslogtreecommitdiff
path: root/gnu/packages/patchutils.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2018-10-03 10:23:51 -0500
committerEric Bavier <bavier@member.fsf.org>2018-10-03 10:45:02 -0500
commit43eb42ef017aa4752503fb2913781bb446716c1e (patch)
tree054fd18c734da873c286f8aaa7a891e79950b614 /gnu/packages/patchutils.scm
parent227ce488d7b899636e8e8635cbd2d08fb21c56a2 (diff)
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.
Diffstat (limited to 'gnu/packages/patchutils.scm')
-rw-r--r--gnu/packages/patchutils.scm14
1 files changed, 3 insertions, 11 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index da20ae1c3fa..688e62cdc83 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -103,7 +103,9 @@ listing the files modified by a patch.")
103 (sha256 103 (sha256
104 (base32 104 (base32
105 "06b816m2gz9jfif7k9v2hrm7fz76zjg5pavf7hd3ifybwn4cgjzn")) 105 "06b816m2gz9jfif7k9v2hrm7fz76zjg5pavf7hd3ifybwn4cgjzn"))
106 (patches (search-patches "quilt-test-fix-regex.patch")))) 106 (patches (search-patches "quilt-test-fix-regex.patch"
107 "quilt-compat-getopt-fix-second-separator.patch"
108 "quilt-compat-getopt-fix-option-with-nondigit-param.patch"))))
107 (build-system gnu-build-system) 109 (build-system gnu-build-system)
108 (native-inputs 110 (native-inputs
109 `(("gettext" ,gnu-gettext))) 111 `(("gettext" ,gnu-gettext)))
@@ -122,16 +124,6 @@ listing the files modified by a patch.")
122 '("test/run" 124 '("test/run"
123 "test/edit.test") 125 "test/edit.test")
124 (("/bin/sh") (which "sh"))) 126 (("/bin/sh") (which "sh")))
125 (substitute* "test/create-delete.test"
126 ;; We'd rather use quilt's compat/getopt than declare a
127 ;; dependency on util-linux, but this test fails because of
128 ;; compat/getopt's handling of "---" in this test, so remove it
129 ;; for now.
130 ((" ---") ""))
131 (substitute* '("test/empty-files.test" "test/faildiff.test")
132 ;; compat/getopt seems not to handle splitting of short opts
133 ;; from its arguments.
134 (("-pab") "-p ab"))
135 #t)) 127 #t))
136 (add-after 'install 'wrap-program 128 (add-after 'install 'wrap-program
137 ;; quilt's configure checks for the absolute path to the utilities it 129 ;; quilt's configure checks for the absolute path to the utilities it