From 597516df7984a66cc74581d6481dfffdc889b8c0 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 2 Aug 2015 15:58:08 +0300 Subject: [PATCH] tests: Skip LEAP tests if not included in the build Signed-off-by: Jouni Malinen --- tests/hwsim/test_eap_proto.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index 460e7c93d..f0c8a520b 100644 --- a/tests/hwsim/test_eap_proto.py +++ b/tests/hwsim/test_eap_proto.py @@ -558,6 +558,7 @@ def test_eap_proto_sake(dev, apdev): def test_eap_proto_leap(dev, apdev): """EAP-LEAP protocol tests""" + check_eap_capa(dev[0], "LEAP") def leap_handler(ctx, req): logger.info("leap_handler - RX " + req.encode("hex")) if 'num' not in ctx: