Don't run ctrl_shell tests without gmock and editline

Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Matt Turner
2026-02-23 23:29:56 +00:00
committed by Roger Light
parent f5dd5d8519
commit 6cdc2356eb
+4
View File
@@ -137,6 +137,8 @@ ctrl_shell_pre_connect_test : ctrl_shell_pre_connect_test.o ${LIB_OBJS}
test-compile : $(MOCK_TESTS)
test-mock : $(MOCK_TESTS)
ifeq ($(WITH_GMOCK),yes)
ifeq ($(WITH_EDITLINE),yes)
./ctrl_shell_broker_test
./ctrl_shell_completion_test
./ctrl_shell_dynsec_test
@@ -144,6 +146,8 @@ test-mock : $(MOCK_TESTS)
./ctrl_shell_options_test
./ctrl_shell_pre_connect_test
./ctrl_shell_test
endif
endif
test : test-mock
./ctrl-args.py