Upstream commit fixing testcases for fish>=3.1, see https://github.com/kislyuk/argcomplete/commit/08bfc8a788e8081515d733e67be026d051c726f7 diff --git a/test/test.py b/test/test.py index e91352b..2c34806 100755 --- a/test/test.py +++ b/test/test.py @@ -28,6 +28,8 @@ BASH_VERSION = subprocess.check_output(['bash', '-c', 'echo $BASH_VERSION']).decode() BASH_MAJOR_VERSION = int(BASH_VERSION.split('.')[0]) +FISH_VERSION_STR = subprocess.check_output(['fish', '-c', 'echo -n $FISH_VERSION']).decode() +FISH_VERSION_TUPLE = tuple(int(x) for x in FISH_VERSION_STR.split('.')) class TempDir(object): @@ -1258,8 +1260,11 @@ class TestFish(_TestSh, unittest.TestCase): expected_failures = [ 'test_parse_special_characters', 'test_comp_point', - 'test_special_characters_double_quoted' ] + if FISH_VERSION_TUPLE < (3, 1): + expected_failures.extend([ + 'test_special_characters_double_quoted' + ]) skipped = [ 'test_single_quotes_in_single_quotes', ef='/guix/'>summaryrefslogtreecommitdiff
path: root/tests/grafts.scm
AgeCommit message (Expand)Author
2017-08-24graft: Correctly replace references near the end of the scan buffer....Fixes <http://bugs.gnu.org/28212>. Reported by Leo Famulari <leo@famulari.name>. * guix/build/graft.scm (replace-store-references): When I >= END, check whether WRITTEN > END and call 'get-bytevector-n!' when it is. * tests/grafts.scm (buffer-size): New variable. ("replace-store-references, <http://bugs.gnu.org/28212>"): New test. Ludovic Courtès
2017-01-25grafts: Do not pull derivation outputs not depended on....Fixes <http://bugs.gnu.org/24886>. Previously, the grafting derivation of, say, brdf-explorer would pull in qt:doc even though brdf-explorer depends only on qt:out, not qt:doc. * guix/grafts.scm (with-cache): Use 'vhash-assoc' and 'vhash-cons' instead of 'vhash-assq' and 'vhash-consq'. (cumulative-grafts): Pass #:outputs to 'graft-derivation/shallow'. Use OUTPUTS instead of (derivation-output-names drv). (graft-derivation): Add #:outputs parameter; pass it to 'cumulative-grafts'. * tests/grafts.scm (make-derivation-input): New variable. ("graft-derivation, replaced derivation has multiple outputs"): Make sure P2:zzz is not part of the outputs of P3D. ("graft-derivation with #:outputs") ("graft-derivation, unused outputs not depended on"): New tests. Ludovic Courtès