]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_hash.c
test: skip some subtests in no-huge mode
[dpdk.git] / app / test / test_hash.c
index fbd5725c6869ffc38a6971ed640ffcf7fbd4a6ea..ab978ea689394b033fc43e8f4ab665e4fea7c729 100644 (file)
@@ -1136,8 +1136,11 @@ fbk_hash_unit_test(void)
        handle = rte_fbk_hash_create(&invalid_params_7);
        RETURN_IF_ERROR_FBK(handle != NULL, "fbk hash creation should have failed");
 
-       handle = rte_fbk_hash_create(&invalid_params_8);
-       RETURN_IF_ERROR_FBK(handle != NULL, "fbk hash creation should have failed");
+       if (rte_eal_has_hugepages()) {
+               handle = rte_fbk_hash_create(&invalid_params_8);
+               RETURN_IF_ERROR_FBK(handle != NULL,
+                                       "fbk hash creation should have failed");
+       }
 
        handle = rte_fbk_hash_create(&invalid_params_same_name_1);
        RETURN_IF_ERROR_FBK(handle == NULL, "fbk hash creation should have succeeded");