File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ test: \
5252 test.keywords \
5353 test.xlat \
5454 test.modules \
55+ test.multi-server \
5556 test.process \
5657 test.radiusd-c \
5758 test.radclient \
Original file line number Diff line number Diff line change @@ -33,15 +33,28 @@ VERBOSE_LEVEL_4 := -vvvv
3333VERBOSE_ARG := $(VERBOSE_LEVEL_$(VERBOSE ) )
3434
3535# Default Multi-server tests (1st target of Makefile)
36+ # We purposely do not run all make targets here to run the short
37+ # tests by default.
3638multi-server : test-5hs-autoaccept test-1p-2hs-autoaccept combine-linelog-msg-output-logs
3739
40+ .PHONY : test.multi-server
41+ test.multi-server : multi-server
42+
3843# Clean target to remove all .log and .txt.bak files in the runtime logs directory
39- .PHONY : clean
40- clean :
44+ .PHONY : clean.test.multi-server
45+ clean.test.multi-server :
4146 @echo " INFO: Removing all .log and .txt.bak files in $( FREERADIUS_MULTI_SERVER_TEST_RUNTIME_LOGS_DIR_ABS) "
4247 rm -f $(FREERADIUS_MULTI_SERVER_TEST_RUNTIME_LOGS_DIR_ABS ) /* .log
4348 rm -f $(FREERADIUS_MULTI_SERVER_TEST_RUNTIME_LOGS_DIR_ABS ) /* .txt.bak
4449
50+ # Allow standalone use: make -f src/tests/multi-server/all.mk clean
51+ # Prerequisite-only rule merges safely with the top-level clean target
52+ .PHONY : clean
53+ clean : clean.test.multi-server
54+
55+ # Hook into the top-level clean.test when included as a submakefile
56+ clean.test : clean.test.multi-server
57+
4558# Additional multi-server tests for longer runs
4659multi-server-5min : test-5hs-autoaccept-5min test-1p-2hs-autoaccept-5min combine-linelog-msg-output-logs
4760
You can’t perform that action at this time.
0 commit comments