qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [qemu PATCH v4 2/4] tests/.gitignore: add entry for gen


From: Eric Blake
Subject: Re: [Qemu-devel] [qemu PATCH v4 2/4] tests/.gitignore: add entry for generated file
Date: Mon, 21 May 2018 13:29:31 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]