Thread (1 message) 1 message, 1 author, 2020-10-26

Re: [PATCH 1/9] t/: new helper for tests that pass with ort but fail with recursive

From: Junio C Hamano <hidden>
Date: 2020-10-26 17:43:23

Elijah Newren [off-list ref] writes:
quoted
When I wrote the patch, I was expecting something like

        test_expect_merge_success recursive=failure,other=failure ...

in order to merge all algorithm into single parameters.

How about something like:

        test_expect_merge_success exception=recursive,other ...

Not that we have "other" algorithm to begin with.
Sure, sounds great.  I wouldn't spend any time trying to make it work
with a 3rd backend, though.
Yup.  I'd appreciate if the lines become a bit shorter while at it,
though.

    test_merge_both [<exception>] '<title>' '
	<body>
    '

that expects success unless otherwise told, and <exception> like
"failure=recursive" can be used to tell us to expect differently,
would work well?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help