From patchwork Thu Dec 14 15:00:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 121967 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6921914qgn; Thu, 14 Dec 2017 07:04:34 -0800 (PST) X-Google-Smtp-Source: ACJfBotx3tk9Km/nyogO7L38KOtAXm7RHipmqxh8xxZCPBfb1rrSmVqWk07Ct5HGgCqccY2dRyb3 X-Received: by 10.200.27.116 with SMTP id p49mr17153662qtk.118.1513263873905; Thu, 14 Dec 2017 07:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513263873; cv=none; d=google.com; s=arc-20160816; b=yFU8ODz1Rc6lDvitFq06ov2q2gpeit0J/XFD76xs5EuU0CqhiL/r8O+f5fcQbm70vH 4kD9T7PTdVICMUYy4DdEWXSiG28eOYyPNwzRXhfhiUiddtgr9RBnCe9quAbss570X42M IPcNHCncWvS9Olh7WCG4GOZmS+ajw+C7kxSTkoCQxwkpXrBzQHGy6qdqWjeC09P9vHqY iK6+WIwfZkWqoB3ISD6iFw3tu+oUGxzn1rRJ9q3Qfgu1E5z/L5tZNUhgfu1GZjyNGzQ0 cbIwy2ZGRu2ma5tdXQNrNBIaoE1VoGelBTtrZOzLCbJDo6TSHVpkMCNVhv8G+hL6HLI+ +e2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=/A1iEupFgxIbsya+CRi6MQVWE6/pwOWtAfjGeZnU7lg=; b=jSWghJ455rshcWZrY5hx4fdRRqFXa0dyvFx/VpJD8xW9jozfFXLiE3+qpsRTbTCfrT t6RZOHAwklN1efV4Q4WFJjIEK6si36YlEbFa3fG4Oc+LemCZPkekaIEuJyp0RFPBKI3x 1+uSbCI1iBUN9vrshvZzVIDcUetY6XThUhIYUfk6yzNBpz8ZfyDuf0hZjL3Gy4DX2xTv dwPx2aI7r20bDdZMRWd3Ir+31GpOry6f4hRjZJTWGyH1C5RsA6ZZ4VOULO5DKI/Gikkh gwojnNloh/RXthHkpa9ywi0R/urTxgLtcygi+zeCIni8zRacZsyBGo17eFTKccJSSOCf yreA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id 144si1611367qki.207.2017.12.14.07.04.33; Thu, 14 Dec 2017 07:04:33 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 50F1660902; Thu, 14 Dec 2017 15:04:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 58AD760928; Thu, 14 Dec 2017 15:03:18 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id F36AC6090A; Thu, 14 Dec 2017 15:03:08 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 3293E60928 for ; Thu, 14 Dec 2017 15:01:50 +0000 (UTC) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward106j.mail.yandex.net (Yandex) with ESMTP id CC21D18038F3 for ; Thu, 14 Dec 2017 18:01:16 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XFSGG9rDyZ-1GTW0gQI; Thu, 14 Dec 2017 18:01:16 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id U5bGnNkZ2k-1AxiXeIJ; Thu, 14 Dec 2017 18:01:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 14 Dec 2017 18:00:42 +0300 Message-Id: <1513263646-26300-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> References: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v10 1/5] test: build: enable cunit output to xml X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha: b6dece7bd634cbe00c04cb730888d4600936a592 **/ .gitignore | 3 +++ configure.ac | 1 + doc/.gitignore | 1 + test/common/odp_cunit_common.c | 9 +++++++++ test/common/odp_cunit_common.h | 1 + test/m4/validation.m4 | 10 ++++++++++ 6 files changed, 25 insertions(+) create mode 100644 doc/.gitignore diff --git a/.gitignore b/.gitignore index 93ab63a31..4653f8976 100644 --- a/.gitignore +++ b/.gitignore @@ -2,13 +2,16 @@ *.gcda *.gcno *.gcov +*.trs *.la *.lo +*.log *.o *.orig *.patch *.rej *.swp +*.xml *~ .deps/ .dirstamp diff --git a/configure.ac b/configure.ac index 95e316026..c4ce56e20 100644 --- a/configure.ac +++ b/configure.ac @@ -383,6 +383,7 @@ AC_MSG_RESULT([ Deprecated APIs: ${deprecated} debug: ${enable_debug} cunit: ${cunit_support} + cunit xml output: ${cunit_out_xml} test_vald: ${test_vald} test_perf: ${test_perf} test_perf_proc: ${test_perf_proc} diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 000000000..d7ec32eaf --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1 @@ +!*.xml diff --git a/test/common/odp_cunit_common.c b/test/common/odp_cunit_common.c index 08bf1f264..7ed343745 100644 --- a/test/common/odp_cunit_common.c +++ b/test/common/odp_cunit_common.c @@ -1,3 +1,4 @@ + /* Copyright (c) 2014, Linaro Limited * All rights reserved. * @@ -7,12 +8,14 @@ #include "config.h" #include +#include #include #include "odp_cunit_common.h" #include /* Globals */ static odph_odpthread_t thread_tbl[MAX_WORKERS]; static odp_instance_t instance; +static char *progname; /* * global init/term functions which may be registered @@ -296,8 +299,13 @@ int odp_cunit_run(void) printf("\tODP implementation name: %s\n", odp_version_impl_name()); printf("\tODP implementation version: %s\n", odp_version_impl_str()); +#if TEST_CUNIT_XML + CU_set_output_filename(progname); + CU_automated_run_tests(); +#else CU_basic_set_mode(CU_BRM_VERBOSE); CU_basic_run_tests(); +#endif ret = CU_get_number_of_failure_records(); @@ -371,5 +379,6 @@ int odp_cunit_register(odp_suiteinfo_t testsuites[]) */ int odp_cunit_parse_options(int argc, char *argv[]) { + progname = argv[0]; return odph_parse_options(argc, argv, NULL, NULL); } diff --git a/test/common/odp_cunit_common.h b/test/common/odp_cunit_common.h index 486a5ec51..ef4385398 100644 --- a/test/common/odp_cunit_common.h +++ b/test/common/odp_cunit_common.h @@ -17,6 +17,7 @@ #include #include "CUnit/Basic.h" #include "CUnit/TestDB.h" +#include #include #define MAX_WORKERS 32 /**< Maximum number of work threads */ diff --git a/test/m4/validation.m4 b/test/m4/validation.m4 index 65ba2aa2e..8aca65ef8 100644 --- a/test/m4/validation.m4 +++ b/test/m4/validation.m4 @@ -31,3 +31,13 @@ AM_CONDITIONAL([test_vald], [test "x$test_vald" = "xyes"]) AC_SUBST([CUNIT_CFLAGS]) AC_SUBST([CUNIT_LIBS]) + +AC_ARG_ENABLE([cunit_out_xml], + [AS_HELP_STRING([--enable-cunit_out_xml], + [output to xml] + [(output test results to xml instead of plain text)])], + [cunit_out_xml=yes], [cunit_out_xml=no]) +AS_IF([test "x$cunit_out_xml" == "xyes"], [TEST_CUNIT_XML=1], + [TEST_CUNIT_XML=0]) +AC_DEFINE_UNQUOTED([TEST_CUNIT_XML], [$TEST_CUNIT_XML], + [Define to 1 to output to xml]) From patchwork Thu Dec 14 15:00:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 121969 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6926253qgn; Thu, 14 Dec 2017 07:07:39 -0800 (PST) X-Google-Smtp-Source: ACJfBot4bHjxbu1unC32B3xsENO+oU6lZMCBQvnZd6uw6ceB/5yjc0v0SDKYTgeVbGOX9iZe4UgK X-Received: by 10.200.45.43 with SMTP id n40mr16010495qta.63.1513264059273; Thu, 14 Dec 2017 07:07:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513264059; cv=none; d=google.com; s=arc-20160816; b=VsBa8h/HRQHADN2gLfQfyM4wC8JiNCUqKBmpFAjyKZ6mL0BV6D+G5CzCiVwigkT2Lf faClEkVcWLegXBmcKGb5CY4PBDKKwdh8gTtMDbn64hp914ifaG7y9s/JKSsfLi3gBat7 EtRXUbif72he4SqJ+exWRoXzvaiXvkSVhxT92HFYO1m+X+ST2UpIr/3Br5iNRA5fmez2 H+D4q3CqIUlSvrBBiS1K5qqPpsUMmzKTTm37hFGxUo/SW150iMFx/2wGgjo6UgRyWOt6 +p4Ja9AhXd4K+miNKFv8piQbD5kEzez0fl7+P7razRE30FWuakbqw9aKNbjzWVmu4F2P onOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=FZWMxlMCBL8huUuqmyxrMqo7qbJW7zEn2jVM34Vlk30=; b=C1DVhpzmw3cMp8gDBGDen8Nauw7eHYgipJ+OtvCECDD1urAfWN1hu3dUHR4KxW+2z/ Ozvku45jfyOEcZXwj+S3r933aqwuyT/yJwZXEHQigEDMmkVfcOarFHRn9zSkcYtU3g0i +3IbX0eb7bUuW/zKMnoyi5NkOFJjHBbCHGdj2x0tS00FZseYOWRHZHqrlH/dfHrT4CbX /wrzjkJf1Pqllqj8OpDCajcv7Om7m+yTqIeVLl5cfgphgBovjY6SJ/ixJTBv/8QtB8DX StnX1Y/+FLGKkdQ6pRlsY3k3VjhxLmHUNXJw4ZuYhgDfIXkFv2vgCDFjZuFILvrMqR58 NaPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id y41si3453319qth.146.2017.12.14.07.07.39; Thu, 14 Dec 2017 07:07:39 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 0333F60926; Thu, 14 Dec 2017 15:07:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id AA3B260958; Thu, 14 Dec 2017 15:05:27 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C2A9D60976; Thu, 14 Dec 2017 15:05:16 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 8857060926 for ; Thu, 14 Dec 2017 15:03:54 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 4CCC121818C4 for ; Thu, 14 Dec 2017 18:01:23 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id gPL11C9Pcm-1NuSv3Kd; Thu, 14 Dec 2017 18:01:23 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id U5bGnNkZ2k-1Gx4MhoF; Thu, 14 Dec 2017 18:01:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 14 Dec 2017 18:00:43 +0300 Message-Id: <1513263646-26300-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> References: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v10 2/5] linux-gen:test: shmem pass args to cunit X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov Pass args to cunit to make code commong with other tests. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha: b6dece7bd634cbe00c04cb730888d4600936a592 **/ platform/linux-generic/test/validation/api/shmem/shmem_odp1.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c b/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c index 8cd89c8f7..d3b951ef7 100644 --- a/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c +++ b/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c @@ -76,9 +76,15 @@ odp_suiteinfo_t shmem_suites[] = { ODP_SUITE_INFO_NULL, }; -int main(void) +int main(int argc, char *argv[]) { - int ret = odp_cunit_register(shmem_suites); + int ret; + + /* parse common options: */ + if (odp_cunit_parse_options(argc, argv)) + return -1; + + ret = odp_cunit_register(shmem_suites); if (ret == 0) ret = odp_cunit_run(); From patchwork Thu Dec 14 15:00:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 121968 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6925292qgn; Thu, 14 Dec 2017 07:06:55 -0800 (PST) X-Google-Smtp-Source: ACJfBovm5S0Fr2V3h2l/FjFFIf+mjyggM0N/Q0PrNMojqJM+3P+z/3tcqsqAHj7zVL+v+ZbUmZAH X-Received: by 10.200.43.24 with SMTP id 24mr16044008qtu.153.1513264015194; Thu, 14 Dec 2017 07:06:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513264015; cv=none; d=google.com; s=arc-20160816; b=zPi98/gmUk0RVjzGcgp8wAleAi5aoV4GEezYJvrSGi2RRrG7M81ftf764U94L3DN0l GttErQIUGFFooboAI1y67bVz+a1qk6Z+RJ15r4Xrox+D7gvzrtns/8qUI9tkQfz3aRif xIiGcIwKoM2O6RqL5/4ZsiSpz4aPHidUCjDsCpgE/BgT8rQ+e5vzD1T0VZZZnDo6uSrY Eb0qJ2CerrrRF3cRkqzmJ+JB3urV3dcvveBZQQOCixNNDOLVeDQTEqH6bn6Xfbw+Cb8k 5afg1nLvg2L8rbOe9tRcfdnzScjvBRYN7lbR04djmcspmPUVtbF42JOvB6HQoioYBvrN ib1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=fi0+SOpLEi4bWEcqLrLKIp5PwAsApONRVS+lyzwyMrE=; b=JQk+d6tuGvRY0ksQrquhJmJcupyJtPr/QuYfTuA5dDVxRk0WayN27LtaaX7P8LseFg 8vk5sWNGF0GfIodWX7vfnd9Z90gIFLoNJ8kmeMFz2JUwuCLNmYTrkR+KMRlF6Rsu3jsm SRz1fYojHSoP36uc8oOOkkvsEM4u3G+vGomZId237/ZciRFRv++0pItIU9RIO0DC2ry+ QtrK2FN5w3Fv0z9jU6j0MrnujPwwLNsiNefc8OP/u0VQvnwhQjctRzZGpd68hPzc4qEu vxt3oA0SbOoE8BGUR7GPOb/273wAnsaPNhpBl8TZI6RZSHL6UJ/K8WbYWy0R1Hl44Xlc pRHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id q66si4507028qkd.163.2017.12.14.07.06.54; Thu, 14 Dec 2017 07:06:55 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id B18BD60966; Thu, 14 Dec 2017 15:06:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 1DABF60943; Thu, 14 Dec 2017 15:05:03 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id ACB5060943; Thu, 14 Dec 2017 15:04:58 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id C4F4D60933 for ; Thu, 14 Dec 2017 15:03:44 +0000 (UTC) Received: from mxback15j.mail.yandex.net (mxback15j.mail.yandex.net [IPv6:2a02:6b8:0:1619::91]) by forward103j.mail.yandex.net (Yandex) with ESMTP id B85BD34C54AE for ; Thu, 14 Dec 2017 18:01:29 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback15j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id v9q9NLYVDe-1T7mmZdR; Thu, 14 Dec 2017 18:01:29 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id U5bGnNkZ2k-1NxGwPaE; Thu, 14 Dec 2017 18:01:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 14 Dec 2017 18:00:44 +0300 Message-Id: <1513263646-26300-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> References: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v10 3/5] test: cunit common fix header paths X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha: b6dece7bd634cbe00c04cb730888d4600936a592 **/ test/common/odp_cunit_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/odp_cunit_common.h b/test/common/odp_cunit_common.h index ef4385398..3727a4259 100644 --- a/test/common/odp_cunit_common.h +++ b/test/common/odp_cunit_common.h @@ -15,8 +15,8 @@ #include #include -#include "CUnit/Basic.h" -#include "CUnit/TestDB.h" +#include +#include #include #include From patchwork Thu Dec 14 15:00:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 121966 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6920882qgn; Thu, 14 Dec 2017 07:03:56 -0800 (PST) X-Google-Smtp-Source: ACJfBouCvqQsATVbsKPffpEGOA5kNPZa+kXT1gqKT3jwWpxl0Lfy0ZzsZidmWg2IXwxkP12Ll5bh X-Received: by 10.55.122.135 with SMTP id v129mr16645171qkc.104.1513263836599; Thu, 14 Dec 2017 07:03:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513263836; cv=none; d=google.com; s=arc-20160816; b=DBUmgP06FkkHUNdHhVy1LO617tel0z/sU2fZSpmy6ZI0/u88+2Omhflm88OXqkUeQZ wgnE9zXCZUFBIcFzLA6amoqAC2gcEtm6nGDW9cwnWwTUHuDEUEHPTadQmdVHnmzDnu7Y jWfdYhSQCo/pYOMAR0P8TTXIKbnmm+ca3jvORKU7oAr8HMdfvNJa1FFnw57mXBHYwsKc OrOls2LVaUHI94zx8L+4YO1HptfwXNVWAAELaHLLMWyWgBgDeAo37QFxle1hnooEugFW d5/bZIwlsUPVosf8RtyGzuvr01c/nytv7XwIL2pyuztlLrQ/UPyKLiw/JjW7r+dCGLjz 73aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=sH8ieYBOe7t9QE88SljJf9ojW58H6Tb6EizPawAPWeI=; b=SLGr9+F6f9/cmcQBTvyvYGh8LFpU0kPX5n/pQlNq4Sktb3tEei8G8GEFe8E5i8tF25 RtKDGNK9fwdLvF7LbH+dFQntq05oi0qIbgr+1qeOHFATKuNG+IBy5BJctzm7pTecPagw xlBeNAQe2W+uz02JPvSK1vbGws9Qz+U6Ep4vlbooWN4TR1cQw5pVlXJPHNaP6nlWE9X0 6UTbkEdxinPaX0IeZRI/KnxtsRaJcX1/Hp59nCYp8yWzRsD/wdqxd55uYn2HWFI7pAEA DPLBoMzrjV9ZQ/8HCBc5FwttxRzhW98nmOv2daDBBxvfEqxk5rS/p2DkRVQAsF5mDHRx rFFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id s51si3375043qtk.308.2017.12.14.07.03.56; Thu, 14 Dec 2017 07:03:56 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 3998C60943; Thu, 14 Dec 2017 15:03:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 215246090A; Thu, 14 Dec 2017 15:03:14 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 6FD6960943; Thu, 14 Dec 2017 15:03:05 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id AFF9E60927 for ; Thu, 14 Dec 2017 15:01:48 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 7E1BE6A82909 for ; Thu, 14 Dec 2017 18:01:36 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Hluqi04Wsl-1alScYOl; Thu, 14 Dec 2017 18:01:36 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id U5bGnNkZ2k-1Tx81oVK; Thu, 14 Dec 2017 18:01:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 14 Dec 2017 18:00:45 +0300 Message-Id: <1513263646-26300-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> References: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v10 4/5] shipabble: use xml statistics X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha: b6dece7bd634cbe00c04cb730888d4600936a592 **/ .shippable.yml | 8 +++++++- scripts/Dockerfile | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.shippable.yml b/.shippable.yml index 9fbb29190..bdffd6be2 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -36,9 +36,15 @@ build: - sudo mount -t hugetlbfs nodev /mnt/huge - mkdir -p /dev/shm/odp - ./bootstrap - - ./configure --disable-test-perf + - ./configure --disable-test-perf --enable-cunit_out_xml - make - sudo env ODP_SHM_DIR=/dev/shm/odp make check + - wget https://raw.githubusercontent.com/shawnliang/cunit-to-junit/master/cunit-to-junit.xsl + - | + for FILE in `find ./test ./platform/ -name "*.xml"`; do + bname=`basename $FILE`; + xsltproc --novalid cunit-to-junit.xsl $FILE > $SHIPPABLE_BUILD_DIR/shippable/testresults/${bname} + done on_failure: - cat config.log diff --git a/scripts/Dockerfile b/scripts/Dockerfile index b15282aaf..7e117971d 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -20,7 +20,8 @@ RUN sudo apt-get update && sudo apt-get install -yy \ libtool \ linux-headers-`uname -r` \ mscgen \ - ruby-dev + ruby-dev \ + xsltproc RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 RUN sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang From patchwork Thu Dec 14 15:00:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 121970 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6926574qgn; Thu, 14 Dec 2017 07:07:54 -0800 (PST) X-Google-Smtp-Source: ACJfBosqjBl5jZ9+rkY5187Yek2y5VkmB27eS4KhiSnc6F93NIo+DFn4Kg9PXnMBOKPZ/aOqJsFd X-Received: by 10.55.128.129 with SMTP id b123mr16660249qkd.1.1513264074709; Thu, 14 Dec 2017 07:07:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513264074; cv=none; d=google.com; s=arc-20160816; b=PB989+IbnZ1nIeCgFKNNU5nZdP2aahd8ZNyLsE/vk//TspchEUbXwEkzcRbXYOUbW1 gCdNQzRIn7T27fKesu/bDxO7WoQw2VS70POyIcvYHuW+cWtNv43fywbBmwxmZHNnA5IP iwaM0YBpWbPm78RrXEYaAFb4hy2NnMAZo0J8cxDOPaQNcz9RXYdtLvM/vmm/N8OZa3oI UrszTU0AmI9cBze6u1DyQg4rLaNHefk616OlkTObfzcX7PITAQeRu9/Vvj++VpI/Rwq+ ttmLbUWC8FO4TSa2Z5Pqb1bxwmGGA77YFkaPFGr4CrBV68ZumDKTpvRzbsMbKDSnKqqK MSrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=ItjvTAmHfWrkPqPgjk65IJato/iVqazXJLjSJkefVVY=; b=by0Vh3KsaVDGdi9Ec+zJYN9kPp65p2mjE5kFVypPbfXcjfNrOdKxNJYvTRSgxEqVUV zxN8KGnCRbQwrcXNpYWG+tFKFTZC1sdS/KJfBvz/rMDtCniW/AooiSvjajAZ3G8/vNi+ 2skXMd0pSOPpSLSCLMqUyBKxs664Mk1G0HUrQGNIXKegvMNcE0wvY9eDroA+hs6ZFERI 9Xz2xAg2TJKycF/olo/aUf6nqOmuqxACrFRpO6KTUYdFOpAzhE+0TPpfIkI4NclUzrno YxH+V4YClK1X1Ex4EKgZm8Ro0dpEy9KWM5qOdCnK7av3t3WuhORYNzuQu6RXUzFT+n98 uO9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id y2si1881177qkd.361.2017.12.14.07.07.54; Thu, 14 Dec 2017 07:07:54 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 5BD3960926; Thu, 14 Dec 2017 15:07:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 074916090A; Thu, 14 Dec 2017 15:05:39 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id CCE3F6096B; Thu, 14 Dec 2017 15:05:29 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id E4C8C60918 for ; Thu, 14 Dec 2017 15:03:57 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward102o.mail.yandex.net (Yandex) with ESMTP id E66835A05A7F for ; Thu, 14 Dec 2017 18:01:42 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id xW4ChFk5F7-1gGC27sB; Thu, 14 Dec 2017 18:01:42 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id U5bGnNkZ2k-1axqRPVm; Thu, 14 Dec 2017 18:01:36 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 14 Dec 2017 18:00:46 +0300 Message-Id: <1513263646-26300-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> References: <1513263646-26300-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v10 5/5] travis: cunit fix function declaration in Automated.h X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov some gcc fails on including this header but cunit is the latest stable release. So fix it in place untill it will not be fixed upstream. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha: b6dece7bd634cbe00c04cb730888d4600936a592 **/ .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 25c2d0a53..48e6406c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -138,6 +138,8 @@ before_install: curl -sSOL https://github.com/Linaro/libcunit/releases/download/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 tar -jxf *.bz2 pushd CUnit* + # Using the latest stable CUNIT but new compillers are more strict to functions declaration. + sed -i s/\(\)/\(void\)/g ./CUnit/Headers/Automated.h libtoolize --force --copy aclocal autoheader