get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/168/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 168,
    "url": "http://patches.dpdk.org/api/patches/168/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1408353973-16663-8-git-send-email-david.marchand@6wind.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1408353973-16663-8-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1408353973-16663-8-git-send-email-david.marchand@6wind.com",
    "date": "2014-08-18T09:26:13",
    "name": "[dpdk-dev,7/7] app/test: only build what has been selected in config",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0b15f63cb6e3afa69b37c255633c46450b620570",
    "submitter": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1408353973-16663-8-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/168/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/168/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "Received": [
            "from mail-wi0-f182.google.com (mail-wi0-f182.google.com\n\t[209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 3904F36D\n\tfor <dev@dpdk.org>; Mon, 18 Aug 2014 11:23:11 +0200 (CEST)",
            "by mail-wi0-f182.google.com with SMTP id d1so3333860wiv.3\n\tfor <dev@dpdk.org>; Mon, 18 Aug 2014 02:26:33 -0700 (PDT)",
            "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tza9sm25087627wjc.29.2014.08.18.02.26.32 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 18 Aug 2014 02:26:32 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Vnxp5ArFJP3Trb2bkDLwI2EPZAlHQF8bEkPTkxcvbhk=;\n\tb=fBbpYYdIln/Xt11ncESHJ55KSJA7jpymtL3KZKqxSLPTBnxK9R0iZcSGNNnuDSj/vq\n\tg4UqVhl/paZrO7riy/22+oywEmDlv2Mk8Miycp/HrKbsK4HPvHiHOPXj+mR8SgGB/Nci\n\t0uF+HwNxw8OUNDD/F6UKyyPvoXKqGoIFU9B3jDxM506+Cv+RZvuk7L5MIcaGJtM5B/Nn\n\t6av/qP8Ug3hYoyJbuEC6gEsGGNUXL/QBUbr44bvMcB2VVqIxUF2vuBbQQz/8zgE3MfWs\n\tMLD027KVp7DHML5Z2Z57TxV4xHGu4mZO6f0/1HbJbNU0O8fdLPdq7dm/kLR2PONkVgOj\n\t9H6w==",
        "X-Gm-Message-State": "ALoCoQnHXNz5nljaqCbHQ4imBtf0V4RiSOUs/WbXTGkkjXts9lH9h0K6DhGw655Yojru1fBXC9JD",
        "X-Received": "by 10.180.182.67 with SMTP id ec3mr40358359wic.21.1408353993584; \n\tMon, 18 Aug 2014 02:26:33 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 18 Aug 2014 11:26:13 +0200",
        "Message-Id": "<1408353973-16663-8-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1408353973-16663-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1408353973-16663-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 7/7] app/test: only build what has been selected\n\tin config",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-List-Received-Date": "Mon, 18 Aug 2014 09:23:11 -0000"
    },
    "content": "Avoid building tests if their counterparts are not selected in config.\nThis has the nice side effect of fixing build errors when disabling parts of\nthe dpdk.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n app/test/Makefile                |   61 ++++++++++++++++++++++++++------------\n app/test/test_acl.c              |    3 --\n app/test/test_cmdline.c          |    2 --\n app/test/test_distributor.c      |    2 --\n app/test/test_distributor_perf.c |    2 --\n app/test/test_eal_flags.c        |    2 --\n app/test/test_eal_fs.c           |    2 --\n app/test/test_hash.c             |    3 --\n app/test/test_hash_perf.c        |    3 --\n app/test/test_ivshmem.c          |    3 --\n app/test/test_kni.c              |    2 --\n app/test/test_lpm.c              |    3 --\n app/test/test_lpm6.c             |    3 --\n app/test/test_meter.c            |    3 --\n app/test/test_mp_secondary.c     |    2 --\n app/test/test_pmd_ring.c         |    4 ---\n app/test/test_power.c            |    4 ---\n app/test/test_red.c              |    3 --\n app/test/test_sched.c            |    3 --\n app/test/test_table.c            |    4 ---\n app/test/test_table_acl.c        |    4 ---\n app/test/test_table_combined.c   |    3 --\n app/test/test_table_pipeline.c   |    8 -----\n app/test/test_table_ports.c      |    4 ---\n app/test/test_table_tables.c     |    4 ---\n app/test/test_timer.c            |    2 --\n app/test/test_timer_perf.c       |    2 --\n 27 files changed, 42 insertions(+), 99 deletions(-)",
    "diff": "diff --git a/app/test/Makefile b/app/test/Makefile\nindex abb7426..4797382 100644\n--- a/app/test/Makefile\n+++ b/app/test/Makefile\n@@ -53,39 +53,57 @@ SRCS-y += test_cycles.c\n SRCS-y += test_spinlock.c\n SRCS-y += test_memory.c\n SRCS-y += test_memzone.c\n+\n SRCS-y += test_ring.c\n+SRCS-y += test_ring_perf.c\n+\n+ifeq ($(CONFIG_RTE_LIBRTE_TABLE),y)\n SRCS-y += test_table.c\n-SRCS-y += test_table_pipeline.c\n+SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test_table_pipeline.c\n SRCS-y += test_table_tables.c\n SRCS-y += test_table_ports.c\n SRCS-y += test_table_combined.c\n-SRCS-y += test_table_acl.c\n-SRCS-y += test_ring_perf.c\n+SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_table_acl.c\n+endif\n+\n SRCS-y += test_rwlock.c\n-SRCS-y += test_timer.c\n+\n+SRCS-$(CONFIG_RTE_LIBRTE_TIMER) += test_timer.c\n+SRCS-$(CONFIG_RTE_LIBRTE_TIMER) += test_timer_perf.c\n+\n SRCS-y += test_mempool.c\n SRCS-y += test_mempool_perf.c\n+\n SRCS-y += test_mbuf.c\n SRCS-y += test_logs.c\n+\n SRCS-y += test_memcpy.c\n SRCS-y += test_memcpy_perf.c\n-SRCS-y += test_hash.c\n-SRCS-y += test_hash_perf.c\n-SRCS-y += test_lpm.c\n-SRCS-y += test_lpm6.c\n+\n+SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash.c\n+SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_perf.c\n+\n+SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm.c\n+SRCS-$(CONFIG_RTE_LIBRTE_LPM) += test_lpm6.c\n+\n SRCS-y += test_debug.c\n SRCS-y += test_errno.c\n SRCS-y += test_tailq.c\n SRCS-y += test_string_fns.c\n-SRCS-y += test_mp_secondary.c\n SRCS-y += test_cpuflags.c\n+\n+ifeq ($(CONFIG_RTE_EXEC_ENV_BAREMETAL),)\n+SRCS-y += test_mp_secondary.c\n SRCS-y += test_eal_flags.c\n+SRCS-y += test_eal_fs.c\n+endif\n+\n SRCS-y += test_alarm.c\n SRCS-y += test_interrupts.c\n SRCS-y += test_version.c\n-SRCS-y += test_eal_fs.c\n SRCS-y += test_func_reentrancy.c\n-SRCS-y += test_cmdline.c\n+\n+SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline.c\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_num.c\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_etheraddr.c\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_portlist.c\n@@ -93,16 +111,21 @@ SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_ipaddr.c\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_cirbuf.c\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_string.c\n SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_lib.c\n+\n+ifeq ($(CONFIG_RTE_LIBRTE_SCHED),y)\n SRCS-y += test_red.c\n-SRCS-y += test_sched.c\n-SRCS-y += test_meter.c\n-SRCS-y += test_kni.c\n-SRCS-y += test_power.c\n+SRCS-$(CONFIG_RTE_ARCH_X86_64) += test_sched.c\n+endif\n+\n+SRCS-$(CONFIG_RTE_LIBRTE_METER) += test_meter.c\n+SRCS-$(CONFIG_RTE_LIBRTE_KNI) += test_kni.c\n+SRCS-$(CONFIG_RTE_LIBRTE_POWER) += test_power.c\n SRCS-y += test_common.c\n-SRCS-y += test_timer_perf.c\n-SRCS-y += test_ivshmem.c\n-SRCS-y += test_distributor.c\n-SRCS-y += test_distributor_perf.c\n+SRCS-$(CONFIG_RTE_LIBRTE_IVSHMEM) += test_ivshmem.c\n+\n+SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += test_distributor.c\n+SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += test_distributor_perf.c\n+\n SRCS-y += test_devargs.c\n SRCS-y += virtual_pmd.c\n SRCS-y += packet_burst_generator.c\ndiff --git a/app/test/test_acl.c b/app/test/test_acl.c\nindex 4e7b470..c6b3f86 100644\n--- a/app/test/test_acl.c\n+++ b/app/test/test_acl.c\n@@ -36,8 +36,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_ACL\n-\n #include <rte_string_fns.h>\n #include <rte_mbuf.h>\n #include <rte_byteorder.h>\n@@ -934,4 +932,3 @@ static struct test_command acl_cmd = {\n \t.callback = test_acl,\n };\n REGISTER_TEST_COMMAND(acl_cmd);\n-#endif /* RTE_LIBRTE_ACL */\ndiff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c\nindex 9b8bd5c..2b5840f 100644\n--- a/app/test/test_cmdline.c\n+++ b/app/test/test_cmdline.c\n@@ -36,7 +36,6 @@\n #include \"test.h\"\n #include \"test_cmdline.h\"\n \n-#ifdef RTE_LIBRTE_CMDLINE\n static int\n test_cmdline(void)\n {\n@@ -95,4 +94,3 @@ static struct test_command cmdline_cmd = {\n \t.callback = test_cmdline,\n };\n REGISTER_TEST_COMMAND(cmdline_cmd);\n-#endif\ndiff --git a/app/test/test_distributor.c b/app/test/test_distributor.c\nindex b29bef8..eca974d 100644\n--- a/app/test/test_distributor.c\n+++ b/app/test/test_distributor.c\n@@ -33,7 +33,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_DISTRIBUTOR\n #include <unistd.h>\n #include <string.h>\n #include <rte_cycles.h>\n@@ -586,4 +585,3 @@ static struct test_command distributor_cmd = {\n \t.callback = test_distributor,\n };\n REGISTER_TEST_COMMAND(distributor_cmd);\n-#endif\ndiff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c\nindex 8a6b855..849387d 100644\n--- a/app/test/test_distributor_perf.c\n+++ b/app/test/test_distributor_perf.c\n@@ -33,7 +33,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_DISTRIBUTOR\n #include <unistd.h>\n #include <string.h>\n #include <rte_cycles.h>\n@@ -266,4 +265,3 @@ static struct test_command distributor_perf_cmd = {\n \t.callback = test_distributor_perf,\n };\n REGISTER_TEST_COMMAND(distributor_perf_cmd);\n-#endif\ndiff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c\nindex 2d81764..21e6cca 100644\n--- a/app/test/test_eal_flags.c\n+++ b/app/test/test_eal_flags.c\n@@ -35,7 +35,6 @@\n \n #include \"test.h\"\n \n-#ifndef RTE_EXEC_ENV_BAREMETAL\n #include <string.h>\n #include <stdarg.h>\n #include <libgen.h>\n@@ -1288,4 +1287,3 @@ static struct test_command eal_flags_cmd = {\n \t.callback = test_eal_flags,\n };\n REGISTER_TEST_COMMAND(eal_flags_cmd);\n-#endif\ndiff --git a/app/test/test_eal_fs.c b/app/test/test_eal_fs.c\nindex 8d4edc1..cd41b3e 100644\n--- a/app/test/test_eal_fs.c\n+++ b/app/test/test_eal_fs.c\n@@ -32,7 +32,6 @@\n  */\n \n #include \"test.h\"\n-#ifndef RTE_EXEC_ENV_BAREMETAL\n #include <stdio.h>\n #include <stdlib.h>\n #include <string.h>\n@@ -209,4 +208,3 @@ static struct test_command eal_fs_cmd = {\n \t.callback = test_eal_fs,\n };\n REGISTER_TEST_COMMAND(eal_fs_cmd);\n-#endif\ndiff --git a/app/test/test_hash.c b/app/test/test_hash.c\nindex ae3238b..178ec3f 100644\n--- a/app/test/test_hash.c\n+++ b/app/test/test_hash.c\n@@ -52,8 +52,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_HASH\n-\n #include <rte_hash.h>\n #include <rte_fbk_hash.h>\n #include <rte_jhash.h>\n@@ -1373,4 +1371,3 @@ static struct test_command hash_cmd = {\n \t.callback = test_hash,\n };\n REGISTER_TEST_COMMAND(hash_cmd);\n-#endif /* RTE_LIBRTE_HASH */\ndiff --git a/app/test/test_hash_perf.c b/app/test/test_hash_perf.c\nindex d3e9990..7bb7016 100644\n--- a/app/test/test_hash_perf.c\n+++ b/app/test/test_hash_perf.c\n@@ -53,8 +53,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_HASH\n-\n #include <rte_hash.h>\n #include <rte_fbk_hash.h>\n #include <rte_jhash.h>\n@@ -778,4 +776,3 @@ static struct test_command hash_perf_cmd = {\n \t.callback = test_hash_perf,\n };\n REGISTER_TEST_COMMAND(hash_perf_cmd);\n-#endif /* RTE_LIBRTE_HASH */\ndiff --git a/app/test/test_ivshmem.c b/app/test/test_ivshmem.c\nindex e759939..2996a86 100644\n--- a/app/test/test_ivshmem.c\n+++ b/app/test/test_ivshmem.c\n@@ -43,8 +43,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_IVSHMEM\n-\n #include <rte_common.h>\n #include <rte_ivshmem.h>\n #include <rte_string_fns.h>\n@@ -437,4 +435,3 @@ static struct test_command ivshmem_cmd = {\n \t.callback = test_ivshmem,\n };\n REGISTER_TEST_COMMAND(ivshmem_cmd);\n-#endif /* RTE_LIBRTE_IVSHMEM */\ndiff --git a/app/test/test_kni.c b/app/test/test_kni.c\nindex 60683d2..2860bf3 100644\n--- a/app/test/test_kni.c\n+++ b/app/test/test_kni.c\n@@ -39,7 +39,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_KNI\n #include <rte_string_fns.h>\n #include <rte_mempool.h>\n #include <rte_ethdev.h>\n@@ -685,4 +684,3 @@ static struct test_command kni_cmd = {\n \t.callback = test_kni,\n };\n REGISTER_TEST_COMMAND(kni_cmd);\n-#endif /* RTE_LIBRTE_KNI */\ndiff --git a/app/test/test_lpm.c b/app/test/test_lpm.c\nindex 087d97a..6d8823e 100644\n--- a/app/test/test_lpm.c\n+++ b/app/test/test_lpm.c\n@@ -47,8 +47,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_LPM\n-\n #include \"rte_lpm.h\"\n #include \"test_lpm_routes.h\"\n \n@@ -1354,4 +1352,3 @@ static struct test_command lpm_cmd = {\n \t.callback = test_lpm,\n };\n REGISTER_TEST_COMMAND(lpm_cmd);\n-#endif /* RTE_LIBRTE_LPM */\ndiff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c\nindex bd99125..1f88d7a 100644\n--- a/app/test/test_lpm6.c\n+++ b/app/test/test_lpm6.c\n@@ -41,8 +41,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_LPM\n-\n #include <rte_common.h>\n #include <rte_cycles.h>\n #include <rte_memory.h>\n@@ -1925,4 +1923,3 @@ static struct test_command lpm6_cmd = {\n \t.callback = test_lpm6,\n };\n REGISTER_TEST_COMMAND(lpm6_cmd);\n-#endif /* RTE_LIBRTE_LPM */\ndiff --git a/app/test/test_meter.c b/app/test/test_meter.c\nindex 215cbf8..bc76391 100644\n--- a/app/test/test_meter.c\n+++ b/app/test/test_meter.c\n@@ -39,8 +39,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_METER\n-\n #include <rte_cycles.h>\n #include <rte_meter.h>\n \n@@ -501,4 +499,3 @@ static struct test_command meter_cmd = {\n \t.callback = test_meter,\n };\n REGISTER_TEST_COMMAND(meter_cmd);\n-#endif /* RTE_LIBRTE_METER */\ndiff --git a/app/test/test_mp_secondary.c b/app/test/test_mp_secondary.c\nindex 7579e20..95a12e2 100644\n--- a/app/test/test_mp_secondary.c\n+++ b/app/test/test_mp_secondary.c\n@@ -35,7 +35,6 @@\n \n #include \"test.h\"\n \n-#ifndef RTE_EXEC_ENV_BAREMETAL\n #include <stdint.h>\n #include <stdlib.h>\n #include <stdarg.h>\n@@ -270,4 +269,3 @@ static struct test_command multiprocess_cmd = {\n \t.callback = test_mp_secondary,\n };\n REGISTER_TEST_COMMAND(multiprocess_cmd);\n-#endif\ndiff --git a/app/test/test_pmd_ring.c b/app/test/test_pmd_ring.c\nindex 6364495..7490112 100644\n--- a/app/test/test_pmd_ring.c\n+++ b/app/test/test_pmd_ring.c\n@@ -32,8 +32,6 @@\n  */\n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_PMD_RING\n-\n #include <stdio.h>\n \n #include <rte_eth_ring.h>\n@@ -450,5 +448,3 @@ static struct test_command ring_pmd_cmd = {\n \t.callback = test_pmd_ring,\n };\n REGISTER_TEST_COMMAND(ring_pmd_cmd);\n-#endif\n-\ndiff --git a/app/test/test_power.c b/app/test/test_power.c\nindex 123b199..d9eb420 100644\n--- a/app/test/test_power.c\n+++ b/app/test/test_power.c\n@@ -39,8 +39,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_POWER\n-\n #include <rte_power.h>\n \n #define TEST_POWER_LCORE_ID      2U\n@@ -482,5 +480,3 @@ static struct test_command power_cmd = {\n \t.callback = test_power,\n };\n REGISTER_TEST_COMMAND(power_cmd);\n-#endif /* RTE_LIBRTE_POWER */\n-\ndiff --git a/app/test/test_red.c b/app/test/test_red.c\nindex 7cf2221..262df72 100644\n--- a/app/test/test_red.c\n+++ b/app/test/test_red.c\n@@ -43,8 +43,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_SCHED\n-\n #include <rte_red.h>\n \n #ifdef __INTEL_COMPILER\n@@ -1889,4 +1887,3 @@ static struct test_command red_cmd = {\n \t.callback = test_red,\n };\n REGISTER_TEST_COMMAND(red_cmd);\n-#endif\ndiff --git a/app/test/test_sched.c b/app/test/test_sched.c\nindex 2cc9df5..ce47084 100644\n--- a/app/test/test_sched.c\n+++ b/app/test/test_sched.c\n@@ -39,8 +39,6 @@\n \n #include \"test.h\"\n \n-#if defined(RTE_LIBRTE_SCHED) && defined(RTE_ARCH_X86_64)\n-\n #include <rte_cycles.h>\n #include <rte_ether.h>\n #include <rte_ip.h>\n@@ -234,4 +232,3 @@ static struct test_command sched_cmd = {\n \t.callback = test_sched,\n };\n REGISTER_TEST_COMMAND(sched_cmd);\n-#endif /* RTE_LIBRTE_SCHED */\ndiff --git a/app/test/test_table.c b/app/test/test_table.c\nindex 33e2efc..c3093cc 100644\n--- a/app/test/test_table.c\n+++ b/app/test/test_table.c\n@@ -31,9 +31,6 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-\n-#ifdef RTE_LIBRTE_TABLE\n-\n #include <rte_byteorder.h>\n #include <rte_hexdump.h>\n #include <rte_string_fns.h>\n@@ -212,4 +209,3 @@ static struct test_command table_cmd = {\n \t.callback = test_table,\n };\n REGISTER_TEST_COMMAND(table_cmd);\n-#endif\ndiff --git a/app/test/test_table_acl.c b/app/test/test_table_acl.c\nindex 5bcc8b8..dda0570 100644\n--- a/app/test/test_table_acl.c\n+++ b/app/test/test_table_acl.c\n@@ -31,8 +31,6 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifdef RTE_LIBRTE_ACL\n-\n #include <rte_hexdump.h>\n #include \"test_table.h\"\n #include \"test_table_acl.h\"\n@@ -587,5 +585,3 @@ test_table_ACL(void)\n \n \treturn 0;\n }\n-\n-#endif\ndiff --git a/app/test/test_table_combined.c b/app/test/test_table_combined.c\nindex 3380ff1..dd09da5 100644\n--- a/app/test/test_table_combined.c\n+++ b/app/test/test_table_combined.c\n@@ -31,7 +31,6 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifdef RTE_LIBRTE_TABLE\n #include <string.h>\n #include \"test_table_combined.h\"\n #include \"test_table.h\"\n@@ -780,5 +779,3 @@ test_table_hash32ext(void)\n \n \treturn 0;\n }\n-\n-#endif\ndiff --git a/app/test/test_table_pipeline.c b/app/test/test_table_pipeline.c\nindex 35644a6..70b1015 100644\n--- a/app/test/test_table_pipeline.c\n+++ b/app/test/test_table_pipeline.c\n@@ -31,12 +31,6 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifndef RTE_LIBRTE_PIPELINE\n-\n-#include \"test.h\"\n-\n-#else\n-\n #include <string.h>\n #include <rte_pipeline.h>\n #include <rte_log.h>\n@@ -599,5 +593,3 @@ test_table_pipeline(void)\n \n \treturn 0;\n }\n-\n-#endif\ndiff --git a/app/test/test_table_ports.c b/app/test/test_table_ports.c\nindex e9d45b0..2532367 100644\n--- a/app/test/test_table_ports.c\n+++ b/app/test/test_table_ports.c\n@@ -31,8 +31,6 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifdef RTE_LIBRTE_TABLE\n-\n #include \"test_table_ports.h\"\n #include \"test_table.h\"\n \n@@ -220,5 +218,3 @@ test_port_ring_writer(void)\n \n \treturn 0;\n }\n-\n-#endif\ndiff --git a/app/test/test_table_tables.c b/app/test/test_table_tables.c\nindex da8338c..14add77 100644\n--- a/app/test/test_table_tables.c\n+++ b/app/test/test_table_tables.c\n@@ -31,8 +31,6 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifdef RTE_LIBRTE_TABLE\n-\n #include <string.h>\n #include <rte_byteorder.h>\n #include <rte_table_lpm_ipv6.h>\n@@ -903,5 +901,3 @@ test_table_hash_ext(void)\n \n \treturn 0;\n }\n-\n-#endif\ndiff --git a/app/test/test_timer.c b/app/test/test_timer.c\nindex ec826c0..4b4800b 100644\n--- a/app/test/test_timer.c\n+++ b/app/test/test_timer.c\n@@ -33,7 +33,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_TIMER\n /*\n  * Timer\n  * =====\n@@ -525,4 +524,3 @@ static struct test_command timer_cmd = {\n \t.callback = test_timer,\n };\n REGISTER_TEST_COMMAND(timer_cmd);\n-#endif\ndiff --git a/app/test/test_timer_perf.c b/app/test/test_timer_perf.c\nindex da92473..3f7ddd3 100644\n--- a/app/test/test_timer_perf.c\n+++ b/app/test/test_timer_perf.c\n@@ -33,7 +33,6 @@\n \n #include \"test.h\"\n \n-#ifdef RTE_LIBRTE_TIMER\n #include <stdio.h>\n #include <unistd.h>\n #include <inttypes.h>\n@@ -164,4 +163,3 @@ static struct test_command timer_perf_cmd = {\n \t.callback = test_timer_perf,\n };\n REGISTER_TEST_COMMAND(timer_perf_cmd);\n-#endif\n",
    "prefixes": [
        "dpdk-dev",
        "7/7"
    ]
}