Message ID | pull.878.v4.git.git.1602876532.gitgitgadget@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Make test selection easier by specifying description substrings instead of just numeric counters | expand |
"Elijah Newren via GitGitGadget" <gitgitgadget@gmail.com> writes: > Changes since v3: > > * Added text to the README explaining what to do if the substring you want > to search on includes a comma or whitespace (namely, use the '?' glob > character instead) That would work just as well with or without forbidding spaces. > ++The argument to --run is split on commas and whitespace into separate > ++strings, numbers, and ranges, and picks all tests that match any of > ++the individual selection criteria. If the substring of the > ++description text that you want to match includes a comma or space, use > ++the glob character '?' instead. For example --run='unnecessary?update > ++timing' would match on all tests that match either the glob > ++*unnecessary?update* or the glob *timing*. OK. Will queue.
On Fri, Oct 16, 2020 at 1:25 PM Junio C Hamano <gitster@pobox.com> wrote: > > "Elijah Newren via GitGitGadget" <gitgitgadget@gmail.com> writes: > > > Changes since v3: > > > > * Added text to the README explaining what to do if the substring you want > > to search on includes a comma or whitespace (namely, use the '?' glob > > character instead) > > That would work just as well with or without forbidding spaces. > > > ++The argument to --run is split on commas and whitespace into separate > > ++strings, numbers, and ranges, and picks all tests that match any of > > ++the individual selection criteria. If the substring of the > > ++description text that you want to match includes a comma or space, use > > ++the glob character '?' instead. For example --run='unnecessary?update > > ++timing' would match on all tests that match either the glob > > ++*unnecessary?update* or the glob *timing*. > > OK. > > Will queue. Since both you and Peff argued for just changing IFS, I'll do that, and update this text and elsewhere in t/README to reflect that we only split on commas and send that in as v4.