# And over-ride all of the other magic.
include scripts/boiler.mk
-test: build.raddb ${BUILD_DIR}/bin/radiusd ${BUILD_DIR}/bin/radclient
+test: build.raddb ${BUILD_DIR}/bin/radiusd ${BUILD_DIR}/bin/radclient tests.unit tests.keywords
@$(MAKE) -C raddb/certs
@./build/make/jlibtool --mode=execute ./build/bin/radiusd -XCMd ./raddb -n debug -D ./share
@$(MAKE) -C src/tests tests
#
tests.keywords: $(TESTS.KEYWORDS_FILES)
-#
-# And be a BASTARD about it. If the unit tests fail,
-# then we can't run radiusd.
-#
-$(BUILD_DIR)/bin/radiusd: $(TESTS.KEYWORDS_FILES)
-
.PHONY: clean.tests.keywords
clean.tests.keywords:
@rm -rf $(BUILD_DIR)/tests/keywords/
# Depend on the output files, and create the directory first.
#
tests.unit: $(TESTS.UNIT_FILES)
-
-#
-# And be a BASTARD about it. If the unit tests fail,
-# then we can't run radiusd.
-#
-$(BUILD_DIR)/bin/radiusd: $(TESTS.UNIT_FILES)