On 05/21/2018 12:32 PM, Philippe Mathieu-Daudé wrote:
What about using gitignore negated pattern in tests/?
Or, what we've threatened to do in the past: rename all unit tests to
the pattern *-test instead of test-*, as a suffix is a lot easier to
exclude via glob than a prefix. And while we're renaming things, sort
tests into separate subdirectories according to whether they are run as
part of 'make check-unit' or 'make check-qtest'. But until someone does
that work, tweaking the .gitignore for individual tests as they keep
getting added is no worse than what we've been doing.
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266