On 11/30/20 1:23 PM, Jonathan Wakely wrote: > On Mon, 30 Nov 2020 at 12:14, Martin Liška wrote: >> >> On 11/30/20 12:58 PM, Jonathan Wakely wrote: >>> I can have a commit which only uses wildcards now, thanks. >> >> Good! >> >>> >>> I still can't use sub-directories with wildcards, but I can live with that. >> >> Why? The example I presented did so: >> >> libstdc++-v3/ChangeLog: >> * doc/html/*: All you need is love. >> >> and I modified the following file: >> libstdc++-v3/doc/html/manual/debug.html | 3 ++- >> >> Isn't that a sub-directory? > > But libstdc++/doc/html is the entry in the wildcard_prefixes list. > What I mean is using a sub-directory in the changelog: > > * doc/html/manual/*: Love is all you need. > > The use case is for subsets of the testsuite. I've added > libstdc++-v3/testsuite to the wildcard_prefixes, which means I can now > do this: > > * testsuite/*: Update all 28_regex tests. > > But I would like to do this: > > * testsuite/28_regex/*: Update all tests. Ahh, got it. Fix with the attached patch I've just pushed. Hope it's fine now? Martin > > The concrete use case is: > > * testsuite/20_util/specialized_algorithms/pstl/*: Add dg-timeout-factor. > * testsuite/25_algorithms/pstl/*: Likewise. > * testsuite/26_numerics/pstl/*: Likewise. > * testsuite/28_regex/*: Likewise. > > I'm modifying four specific sub-directories, so I'd like to say that > in the changelog. Currently to allow that I'd have to add every > directory under libstdc++-v3/testsuite to the wildcard_prefixes (which > doesn't scale) or just be vague instead of saying which > sub-directories are affected: > > * testsuite/*: Add dg-timeout-factor to most pstl and regex tests. >