From 6cdc2356ebfa2401ea4d86bb315c528c11e4ddbe Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 22 Feb 2026 21:38:50 -0500 Subject: [PATCH] Don't run ctrl_shell tests without gmock and editline Signed-off-by: Matt Turner --- test/apps/ctrl/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/apps/ctrl/Makefile b/test/apps/ctrl/Makefile index 758d3bfd..54b7e254 100644 --- a/test/apps/ctrl/Makefile +++ b/test/apps/ctrl/Makefile @@ -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