get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 39089,
    "url": "https://patches.dpdk.org/api/patches/39089/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1524835241-12778-1-git-send-email-reshma.pattan@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1524835241-12778-1-git-send-email-reshma.pattan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1524835241-12778-1-git-send-email-reshma.pattan@intel.com",
    "date": "2018-04-27T13:20:41",
    "name": "[dpdk-dev] app/test: enhance sanity script",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3800fc324f918b3319c5b0bd372a008bf2c2e966",
    "submitter": {
        "id": 70,
        "url": "https://patches.dpdk.org/api/people/70/?format=api",
        "name": "Pattan, Reshma",
        "email": "reshma.pattan@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1524835241-12778-1-git-send-email-reshma.pattan@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/39089/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/39089/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 09AD37CA3;\n\tFri, 27 Apr 2018 15:20:48 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 9260372FB\n\tfor <dev@dpdk.org>; Fri, 27 Apr 2018 15:20:46 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Apr 2018 06:20:45 -0700",
            "from sivswdev02.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.46])\n\tby fmsmga002.fm.intel.com with ESMTP; 27 Apr 2018 06:20:44 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,335,1520924400\"; d=\"scan'208\";a=\"41094003\"",
        "From": "Reshma Pattan <reshma.pattan@intel.com>",
        "To": "john.mcnamara@intel.com,\n\tdev@dpdk.org",
        "Cc": "jananeex.m.parthasarathy@intel.com",
        "Date": "Fri, 27 Apr 2018 14:20:41 +0100",
        "Message-Id": "<1524835241-12778-1-git-send-email-reshma.pattan@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "Subject": "[dpdk-dev] [PATCH] app/test: enhance sanity script",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://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": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "1. Sanity Script is enhanced with additional test cases\nbeing added to autotest_data.py\n2. Fixed in autotest_test_funcs.py to handle test cases\nwhich returns \"Skipped\" as result.\n  The issue was skipped test cases got timed out,\ncausing delay in sanity script execution.\n3. Enhanced support for FreeBSD to add the respective memory limit,\nas FreeBSD doesn't support socket-mem, file-prefix options.\n\nSigned-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>\n---\n test/test/autotest_data.py       | 471 ++++++++++++++++++++++++++++++++++++++-\n test/test/autotest_runner.py     |   9 +-\n test/test/autotest_test_funcs.py |   6 +-\n 3 files changed, 474 insertions(+), 12 deletions(-)\n mode change 100644 => 100755 test/test/autotest_data.py\n mode change 100644 => 100755 test/test/autotest_test_funcs.py",
    "diff": "diff --git a/test/test/autotest_data.py b/test/test/autotest_data.py\nold mode 100644\nnew mode 100755\nindex aacfe0a..2c6828d\n--- a/test/test/autotest_data.py\n+++ b/test/test/autotest_data.py\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n+# Copyright(c) 2010-2018 Intel Corporation\n \n # Test data for autotests\n \n@@ -70,6 +70,31 @@ def per_sockets(num):\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n+            {\n+                \"Name\":    \"Eventdev selftest octeontx\",\n+                \"Command\": \"eventdev_selftest_octeontx\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Event ring autotest\",\n+                \"Command\": \"event_ring_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Table autotest\",\n+                \"Command\": \"table_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Flow classify autotest\",\n+                \"Command\": \"flow_classify_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n         ]\n     },\n     {\n@@ -125,6 +150,50 @@ def per_sockets(num):\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n+            {\n+                \"Name\":    \"Dump struct sizes\",\n+                \"Command\": \"dump_struct_sizes\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Dump mempool\",\n+                \"Command\": \"dump_mempool\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Dump malloc stats\",\n+                \"Command\": \"dump_malloc_stats\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Dump devargs\",\n+                \"Command\": \"dump_devargs\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Dump log types\",\n+                \"Command\": \"dump_log_types\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Dump_ring\",\n+                \"Command\": \"dump_ring\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Quit\",\n+                \"Command\": \"quit\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n+\n         ],\n     },\n     {\n@@ -168,6 +237,26 @@ def per_sockets(num):\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n+            {\n+                \"Name\":    \"Set rxtx mode\",\n+                \"Command\": \"set_rxtx_mode\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Set rxtx anchor\",\n+                \"Command\": \"set_rxtx_anchor\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Set rxtx sc\",\n+                \"Command\": \"set_rxtx_sc\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n+\n         ]\n     },\n     {\n@@ -176,12 +265,6 @@ def per_sockets(num):\n         \"Tests\":\n         [\n             {\n-                \"Name\":    \"PCI autotest\",\n-                \"Command\": \"pci_autotest\",\n-                \"Func\":    default_autotest,\n-                \"Report\":  None,\n-            },\n-            {\n                 \"Name\":    \"Malloc autotest\",\n                 \"Command\": \"malloc_autotest\",\n                 \"Func\":    default_autotest,\n@@ -211,6 +294,37 @@ def per_sockets(num):\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n+            {\n+                \"Name\":    \"Event eth rx adapter autotest\",\n+                \"Command\": \"event_eth_rx_adapter_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Rawdev autotest\",\n+                \"Command\": \"rawdev_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Kvargs autotest\",\n+                \"Command\": \"kvargs_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Dump physmem\",\n+                \"Command\": \"dump_physmem\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Dump memzone\",\n+                \"Command\": \"dump_memzone\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n         ]\n     },\n     {\n@@ -248,6 +362,31 @@ def per_sockets(num):\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n+            {\n+                \"Name\":    \"Devargs autotest\",\n+                \"Command\": \"devargs_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Link bonding autotest\",\n+                \"Command\": \"link_bonding_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Link bonding mode4 autotest\",\n+                \"Command\": \"link_bonding_mode4_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Link bonding rssconf autotest\",\n+                \"Command\": \"link_bonding_rssconf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n         ]\n     },\n     {\n@@ -285,6 +424,25 @@ def per_sockets(num):\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n+            {\n+                \"Name\":    \"Crc autotest\",\n+                \"Command\": \"crc_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Distributor autotest\",\n+                \"Command\": \"distributor_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Reorder autotest\",\n+                \"Command\": \"reorder_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n         ]\n     },\n     {\n@@ -310,8 +468,184 @@ def per_sockets(num):\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n+            {\n+                \"Name\":    \"Barrier autotest\",\n+                \"Command\": \"barrier_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"User delay\",\n+                \"Command\": \"user_delay_us\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Bitmap test\",\n+                \"Command\": \"bitmap_test\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Hash scaling autotest\",\n+                \"Command\": \"hash_scaling_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Hash multiwriter autotest\",\n+                \"Command\": \"hash_multiwriter_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Service autotest\",\n+                \"Command\": \"service_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n+\n+        ]\n+    },\n+    {\n+        \"Prefix\":   \"group_8\",\n+        \"Memory\":   \"128\",\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Timer racecond autotest\",\n+                \"Command\": \"timer_racecond_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Member autotest\",\n+                \"Command\": \"member_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":   \"Efd_autotest\",\n+                \"Command\": \"efd_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Thash autotest\",\n+                \"Command\": \"thash_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Hash function autotest\",\n+                \"Command\": \"hash_functions_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":   \"group_9\",\n+        \"Memory\":   \"64\",\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Cryptodev sw mrvl autotest\",\n+                \"Command\": \"cryptodev_sw_mrvl_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev dpaa2 sec autotest\",\n+                \"Command\": \"cryptodev_dpaa2_sec_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev dpaa sec autotest\",\n+                \"Command\": \"cryptodev_dpaa_sec_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev qat autotest\",\n+                \"Command\": \"cryptodev_qat_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev aesni mb autotest\",\n+                \"Command\": \"cryptodev_aesni_mb_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev openssl autotest\",\n+                \"Command\": \"cryptodev_openssl_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev scheduler autotest\",\n+                \"Command\": \"cryptodev_scheduler_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev aesni gcm autotest\",\n+                \"Command\": \"cryptodev_aesni_gcm_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev null autotest\",\n+                \"Command\": \"cryptodev_null_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev sw snow3g autotest\",\n+                \"Command\": \"cryptodev_sw_snow3g_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev sw kasumi autotest\",\n+                \"Command\": \"cryptodev_sw_kasumi_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Cryptodev_sw_zuc_autotest\",\n+                \"Command\": \"cryptodev_sw_zuc_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+\n+\n         ]\n     },\n+    {\n+        \"Prefix\":   \"group_10\",\n+        \"Memory\":   \"64\",\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Reciprocal division\",\n+                \"Command\": \"reciprocal_division\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+            {\n+                \"Name\":    \"Red all\",\n+                \"Command\": \"red_all\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+\n ]\n \n # tests that should not be run when any other tests are running\n@@ -336,8 +670,8 @@ def per_sockets(num):\n         \"Tests\":\n         [\n             {\n-                \"Name\":    \"Eventdev sw autotest\",\n-                \"Command\": \"eventdev_sw_autotest\",\n+                \"Name\":    \"Eventdev selftest sw\",\n+                \"Command\": \"eventdev_selftest_sw\",\n                 \"Func\":    default_autotest,\n                 \"Report\":  None,\n             },\n@@ -447,6 +781,125 @@ def per_sockets(num):\n             },\n         ]\n     },\n+    {\n+        \"Prefix\":    \"reciprocal_division_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Reciprocal division perf\",\n+                \"Command\": \"reciprocal_division_perf\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"member_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Member perf autotest\",\n+                \"Command\": \"member_perf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"efd_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Efd perf autotest\",\n+                \"Command\": \"efd_perf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"lpm_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Lpm perf autotest\",\n+                \"Command\": \"lpm_perf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"lpm6_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Lpm6 perf autotest\",\n+                \"Command\": \"lpm6_perf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"red_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Red_perf\",\n+                \"Command\": \"red_perf\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"distributor_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Distributor perf autotest\",\n+                \"Command\": \"distributor_perf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"ring_pmd_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Ring pmd perf autotest\",\n+                \"Command\": \"ring_pmd_perf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+    {\n+        \"Prefix\":    \"pmd_perf\",\n+        \"Memory\":    per_sockets(256),\n+        \"Tests\":\n+        [\n+            {\n+                \"Name\":    \"Pmd perf autotest\",\n+                \"Command\": \"pmd_perf_autotest\",\n+                \"Func\":    default_autotest,\n+                \"Report\":  None,\n+            },\n+        ]\n+    },\n+\n+\n \n     #\n     # Please always make sure that ring_perf is the last test!\ndiff --git a/test/test/autotest_runner.py b/test/test/autotest_runner.py\nindex a692f06..77f0ac7 100644\n--- a/test/test/autotest_runner.py\n+++ b/test/test/autotest_runner.py\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n+# Copyright(c) 2010-2018 Intel Corporation\n \n # The main logic behind running autotests in parallel\n \n@@ -201,6 +201,13 @@ def __init__(self, cmdline, target, blacklist, whitelist):\n     # set up cmdline string\n     def __get_cmdline(self, test):\n         cmdline = self.cmdline\n+        os_name = platform.system()\n+\n+        # append the respective memory limitation on FREEBSD\n+        # as socket-mem, file-prefix is not supported\n+        if os_name == \"FreeBSD\" :\n+            cmdline += \" -m \" + str(sum(map(int, test[\"Memory\"].split(\",\"))))\n+            return cmdline\n \n         # append memory limitations for each test\n         # otherwise tests won't run in parallel\ndiff --git a/test/test/autotest_test_funcs.py b/test/test/autotest_test_funcs.py\nold mode 100644\nnew mode 100755\nindex 65fe335..219c208\n--- a/test/test/autotest_test_funcs.py\n+++ b/test/test/autotest_test_funcs.py\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n+# Copyright(c) 2010-2018 Intel Corporation\n \n # Test functions\n \n@@ -12,12 +12,14 @@\n def default_autotest(child, test_name):\n     child.sendline(test_name)\n     result = child.expect([\"Test OK\", \"Test Failed\",\n-                           \"Command not found\", pexpect.TIMEOUT], timeout=900)\n+                           \"Command not found\", \"Skipped\", pexpect.TIMEOUT], timeout=900)\n     if result == 1:\n         return -1, \"Fail\"\n     elif result == 2:\n         return -1, \"Fail [Not found]\"\n     elif result == 3:\n+        return -1, \"Fail [Test returns Skipped]\"\n+    elif result == 4:\n         return -1, \"Fail [Timeout]\"\n     return 0, \"Success\"\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}