]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_table_pipeline.c
test: skip some subtests in no-huge mode
[dpdk.git] / app / test / test_table_pipeline.c
index 441338ac01aa6d96ad3af7b6bcbe60637e6f5483..bc412c3081a44222c10364e02ce467479a5e3ad4 100644 (file)
@@ -190,11 +190,13 @@ check_pipeline_invalid_params(void)
                goto fail;
        }
 
-       p = rte_pipeline_create(&pipeline_params_3);
-       if (p != NULL) {
-               RTE_LOG(INFO, PIPELINE, "%s: Configure pipeline with invalid "
-                       "socket\n", __func__);
-               goto fail;
+       if (rte_eal_has_hugepages()) {
+               p = rte_pipeline_create(&pipeline_params_3);
+               if (p != NULL) {
+                       RTE_LOG(INFO, PIPELINE, "%s: Configure pipeline with "
+                               "invalid socket\n", __func__);
+                       goto fail;
+               }
        }
 
        /* Check pipeline consistency */