diff options
author | Eric Bavier <bavier@member.fsf.org> | 2018-10-03 10:23:51 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2018-10-03 10:45:02 -0500 |
commit | 43eb42ef017aa4752503fb2913781bb446716c1e (patch) | |
tree | 054fd18c734da873c286f8aaa7a891e79950b614 /gnu/packages/patchutils.scm | |
parent | 227ce488d7b899636e8e8635cbd2d08fb21c56a2 (diff) | |
download | guix-43eb42ef017aa4752503fb2913781bb446716c1e.tar.gz |
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.scm | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index da20ae1c3f..688e62cdc8 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm @@ -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 |