On 4/3/22 11:43 PM, Jens Axboe wrote:
On 4/3/22 9:38 AM, Ammar Faizi wrote:
When adding a new test, we often forget to add the new test binary to
`.gitignore`. Append `.test` to the test binary filename, this way we
can use a wildcard matching "test/*.test" in `.gitignore` to ignore all
test binary files.
Goals:
- Make the .gitignore simpler.
- Avoid the burden of adding a new test to .gitignore.
Just a cosmetic issue, but the .test does bother me a bit. Probably just
because we aren't used to it. Maybe let's just call them .t? And we
should probably rename the foo-test.c cases to just foo.c as a prep patch
too.
Yes, I agree. Will do it in the next version.
--
Ammar Faizi