]> git.ipfire.org Git - thirdparty/squid.git/commit
SourceLayout: Cleanup unit tests (#324)
authorAmos Jeffries <yadij@users.noreply.github.com>
Fri, 16 Nov 2018 06:04:45 +0000 (06:04 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 16 Nov 2018 17:59:34 +0000 (17:59 +0000)
commitf1263147d9f8c91de21e0edca607c47cad7eb573
tree8827d3c58370426e4ddc73e01fb7cd1a1d1c90f2
parent3dc6f0035398a21d89dd23bdf955ef4593dc8515
SourceLayout: Cleanup unit tests (#324)

Polish up and add some structure to the unit tests in
src/Makefile.am. Documenting current best practice for new test
additions and shuffling of lines around to make the tests easily
managed in future, consistent with that practice.

There are two functional changes amongst the non-logic changes;

1) testUfs and testRock src/fs/ tests are updated to using
   automake conditionals to wrap the entire set of automake lists.
   Not just the part adding the test binary to those built. This
   reduces the compiler work creating dependency information for
   them in builds where they are not going to be used.

2) testRefCount has missing LDFLAGS list added

Also, shuffling of most SOURCES lists into nodist_*_SOURCES to
comply with the documented practice is left to followup work
pruning those lists down.
src/Makefile.am