2009/8/11 Nikolay Sivov bunglehead@gmail.com:
Henri Verbeet wrote:
I don't know if there's any reason these tests should be an exception, but the general rule is that tests are supposed to be contained within their own file, to allow for easy compilation.
He didn't move any tests but only initialization routines. This v6 tests
Yes, but that makes the tests depend on the file containing the initialization routines. I.e., you now need to compile both listview.c and v6util.c (as well as needing v6util.h) to create an executable for the listview tests.