That's fine with me!

+1

On Wed, Nov 28, 2018 at 4:54 PM Gabe Black <[email protected]> wrote:

> Hi folks. We have a few unit tests now, and they are mostly consistently
> named by adding test to the file name. For instance the tests for foo.cc
> would be in footest.cc.
>
> There are two minor downsides to that. First, that's a bit ugly to read,
> and it may look weird if files, for instance, use _ to separate words
> instead of squishing everything together, ie foo_bar.cc -> foo_bartest.cc.
> Second, if there already is a footest.cc which is not for unit tests (not
> super likely, but definitely possible), then the naming gets a little
> ambiguous.
>
> Would it make sense to mark tests with .test, so foo.cc -> foo.test.cc?
> That's clear to read, more universally consistent, easily grepped for, and
> will probably not be ambiguous.
>
> Gabe
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to