tests: Add a module test integration to hwsim tests
authorJouni Malinen <j@w1.fi>
Thu, 20 Feb 2014 22:14:30 +0000 (00:14 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 21 Feb 2014 11:08:08 +0000 (13:08 +0200)
commitea449b5bfee82892f526fe5ace8d31c32d57809c
tree95dbdc0c44b995b8a4e5a352fdfae3f3e7a946d9
parentda179bd0e12d6a7b1e5f85a3bec5d1b6ec3c8e1f
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>
hostapd/Makefile
hostapd/ctrl_iface.c
hostapd/hapd_module_tests.c [new file with mode: 0644]
tests/hwsim/example-hostapd.config
tests/hwsim/example-wpa_supplicant.config
tests/hwsim/test_module_tests.py [new file with mode: 0644]
wpa_supplicant/Makefile
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpas_module_tests.c [new file with mode: 0644]