aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-02-20 22:14:30 (GMT)
committerJouni Malinen <j@w1.fi>2014-02-21 11:08:08 (GMT)
commitea449b5bfee82892f526fe5ace8d31c32d57809c (patch)
tree95dbdc0c44b995b8a4e5a352fdfae3f3e7a946d9 /hostapd/Makefile
parentda179bd0e12d6a7b1e5f85a3bec5d1b6ec3c8e1f (diff)
downloadhostap-ea449b5bfee82892f526fe5ace8d31c32d57809c.zip
hostap-ea449b5bfee82892f526fe5ace8d31c32d57809c.tar.gz
hostap-ea449b5bfee82892f526fe5ace8d31c32d57809c.tar.bz2
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>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 111e8c3..25c560f 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -70,6 +70,11 @@ NEED_SHA1=y
OBJS += ../src/drivers/drivers.o
CFLAGS += -DHOSTAPD
+ifdef CONFIG_MODULE_TESTS
+CFLAGS += -DCONFIG_MODULE_TESTS
+OBJS += hapd_module_tests.o
+endif
+
ifdef CONFIG_WPA_TRACE
CFLAGS += -DWPA_TRACE
OBJS += ../src/utils/trace.o