test/security: add inline inbound IPsec cases
[dpdk.git] / app / test / test_member.c
index 40aa4c8..26a7124 100644 (file)
@@ -4,16 +4,27 @@
 
 /* This test is for membership library's simple feature test */
 
+#include "test.h"
+
 #include <rte_memcpy.h>
 #include <rte_malloc.h>
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+static int
+test_member(void)
+{
+       printf("member not supported on Windows, skipping test\n");
+       return TEST_SKIPPED;
+}
+
+#else
+
 #include <rte_member.h>
 #include <rte_byteorder.h>
 #include <rte_random.h>
 #include <rte_debug.h>
 #include <rte_ip.h>
 
-#include "test.h"
-
 struct rte_member_setsum *setsum_ht;
 struct rte_member_setsum *setsum_cache;
 struct rte_member_setsum *setsum_vbf;
@@ -459,7 +470,7 @@ static int test_member_multimatch(void)
                                                MAX_MATCH, set_ids_cache);
                /*
                 * For cache mode, keys overwrite when signature same.
-                * the mutimatch should work like single match.
+                * the multimatch should work like single match.
                 */
                TEST_ASSERT(ret_ht == M_MATCH_CNT && ret_vbf == M_MATCH_CNT &&
                                ret_cache == 1,
@@ -712,4 +723,6 @@ test_member(void)
        return 0;
 }
 
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
 REGISTER_TEST_COMMAND(member_autotest, test_member);