tests: Add a module test integration to hwsim tests
CONFIG_MODULE_TESTS=y build option can now be used to build in module tests into hostapd and wpa_supplicant binaries. These test cases will be used to get better testing coverage for various details that are difficult to test otherwise through the control interface control. A single control interface command is used to executed these tests within the hwsim test framework. This commit adds just the new mechanism, but no module tests are yet integrated into this mechanism. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
da179bd0e1
commit
ea449b5bfe
9 changed files with 78 additions and 0 deletions
|
@ -97,6 +97,11 @@ OBJS += ../src/utils/os_$(CONFIG_OS).o
|
|||
OBJS_p += ../src/utils/os_$(CONFIG_OS).o
|
||||
OBJS_c += ../src/utils/os_$(CONFIG_OS).o
|
||||
|
||||
ifdef CONFIG_MODULE_TESTS
|
||||
CFLAGS += -DCONFIG_MODULE_TESTS
|
||||
OBJS += wpas_module_tests.o
|
||||
endif
|
||||
|
||||
ifdef CONFIG_WPA_TRACE
|
||||
CFLAGS += -DWPA_TRACE
|
||||
OBJS += ../src/utils/trace.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue