On 05/21/2018 12:32 PM, Philippe Mathieu-Daudé wrote:


     tests/test-block-backend


+test-block-backend
   test-blockjob
   test-blockjob-txn
   test-bufferiszero

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
Virtualization:  qemu.org | libvirt.org
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to