From: Alan T. DeKok Date: Wed, 27 Mar 2019 19:20:19 +0000 (-0400) Subject: more comments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7934d9bc35015df793ef07482e351c82dc2b1553;p=thirdparty%2Ffreeradius-server.git more comments --- diff --git a/src/tests/all.mk b/src/tests/all.mk index 82e6d9cfc63..6bac042d729 100644 --- a/src/tests/all.mk +++ b/src/tests/all.mk @@ -1,4 +1,10 @@ -ifneq "$(findstring test,$(MAKECMDGOALS))" "" +# +# The tests do a lot of rooting through files, which slows down non-test builds. +# +# Therefore only include the test subdirectories if we're running the tests. +# Or, if we're trying to clean things up. +# +ifneq "$(findstring test,$(MAKECMDGOALS))$(findstring clean,$(MAKECMDGOALS))" "" SUBMAKEFILES := rbmonkey.mk eapol_test/all.mk dict/all.mk trie/all.mk unit/all.mk map/all.mk xlat/all.mk keywords/all.mk util/all.mk auth/all.mk modules/all.mk bin/all.mk daemon/all.mk endif