From patchwork Wed Dec 20 16:00:19 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: 122480 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5764986qgn; Wed, 20 Dec 2017 08:02:51 -0800 (PST) X-Google-Smtp-Source: ACJfBosfjX8UL6amNabwDEZO9vMP7HZYZg7fLLS7axgRlXB7EVrx1ihelQQOQOaX0bD1r3ZzW0EC X-Received: by 10.37.197.140 with SMTP id v134mr5603811ybe.286.1513785771308; Wed, 20 Dec 2017 08:02:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513785771; cv=none; d=google.com; s=arc-20160816; b=wAS0mwxDLpa+UEDvHQBZa/sfcAnL2dT7iIjxKcFiQ1JOoTIN7GkSbFbjzxvwJSBCF6 o2buKehu8vPkchtNnjFJmZzQeStLikvhVsNBVCaWpX7j9ygam4rm4MEQR7Ffov8maY1a acUnPfglJxklhwMduYe/yiZQs0OUp2izTgT4/SW82mibGgBkemP2KQO7YF1LJw9GPeo9 DOAAdgC+ou07dM1j8ePklordJOGyz+DMqAt6r1/ntqPveGvBB15frFrOeXcwnX8zDhHu cUPF75jrOae2/eI5WF2JcTH5h/1TUr3e/9eG4rLXsLn2LT0ql/XYgwOuQ6GL5Z6zO6tL m+lw== 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=PJk/4TVuNXJLNLrfyUr72vxxE2rWkJZ5tUzhYHindp4=; b=bxLmfLXWNS8MTQJYvVsF9aW7pcMIgSiA1f9gpFDwLaPt7PbYnqZLrCbGL6RL3DO6iZ tc7NRcEX0/fpxNm5c8l0JnZgO7wcR+FUMLaiOg79uZbcThFw2ITq4kvNMTOuKIjro1MK BSnEXva7GK1ltFZ3Lam1F3HqqCpSOUhP1IMr2n+0IpCEo00wJoAAsJsvhwanh/lw/5m0 0eevWWriOZdMv8jBZW653F92Skn+WOed7YtLqMTbCXUjVOf/4VeJGkdXG61WA+G1EbKV mKMBSCkTMI2fg4/h20HNJI6wuinqqYaR3ghGR0Yvr2m0N/vUeogT6Fiz1CKc9GcHyCGo n5Wg== 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 u2si2248826qkf.183.2017.12.20.08.02.50; Wed, 20 Dec 2017 08:02:51 -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 50828608FC; Wed, 20 Dec 2017 16:02:50 +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 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 C54F460922; Wed, 20 Dec 2017 16:00:47 +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 04A98608ED; Wed, 20 Dec 2017 16:00:30 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 6F89D608E7 for ; Wed, 20 Dec 2017 16:00:27 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 8B59B4303E9B for ; Wed, 20 Dec 2017 19:00:25 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Em8JLISq7H-0PNirIKt; Wed, 20 Dec 2017 19:00:25 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id SwIUpkrZYA-0O5qRaDq; Wed, 20 Dec 2017 19:00:24 +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: Wed, 20 Dec 2017 19:00:19 +0300 Message-Id: <1513785623-30862-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> References: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v12 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: 170d41370418d3dd8da3808c800f2894f36cf9ae **/ .gitignore | 3 +++ doc/.gitignore | 1 + test/common/odp_cunit_common.c | 13 +++++++++++-- test/common/odp_cunit_common.h | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) 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/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..55a39d910 100644 --- a/test/common/odp_cunit_common.c +++ b/test/common/odp_cunit_common.c @@ -6,13 +6,16 @@ #include "config.h" +#include #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()); - CU_basic_set_mode(CU_BRM_VERBOSE); - CU_basic_run_tests(); + if (getenv("ODP_TEST_OUT_XML")) { + CU_set_output_filename(progname); + CU_automated_run_tests(); + } else { + CU_basic_set_mode(CU_BRM_VERBOSE); + CU_basic_run_tests(); + } 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 */ From patchwork Wed Dec 20 16:00:20 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: 122478 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5762431qgn; Wed, 20 Dec 2017 08:01:21 -0800 (PST) X-Google-Smtp-Source: ACJfBosCh/vJsk10l/o+F9VwstcMIGmjj3nzzlSK7Y50Escse3fP1tTFcujOBTjHwQCeI210cfnM X-Received: by 10.55.33.159 with SMTP id f31mr10741062qki.78.1513785680775; Wed, 20 Dec 2017 08:01:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513785680; cv=none; d=google.com; s=arc-20160816; b=mrskeOiYxLNps/L3atB5qmGmTmMzLjIQVuzb6hC0iw9eDELS0BeDv/raFDi4BC+LJr fdxDzO1xkYAEJ6mf7CCFOQPXWqFdLSHPv/sKA3kczTdDraJi4JU0i8qU+6xV3e4rv8Vq ZccZreOTgZjya25yuW7bfHdwe9+ohNouk7M2YGdon2+9e6/qPYj8RoZ4wJseFCfaFpd8 LsxyQOgWFmBrHgYZX14xXOQc2azWOenmv9q5lSXX0VXEqQdfFJrmv4K+MYT/lE2z1Q2a +ikdz3mZZ4VKxrt3ccJwdxNX92UV6puKofSI5NARJJ/LoovAgIWVR8RlyOpZa0AyASMl Efug== 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=XZQGeKTBSyPstlY7IViV2L4KfVuxot4mnGcGC5Dqwjg=; b=EeSDyVZAWZ5SUeI7p6hCXPJnQmKMzZp62d7hx8oFqNeJjMHpOeIraDbuYt9RNlE7fA cvOBdrIgWxibqhtSY1PVSc4QEs43KSLCkVN3CfiNJJH6gOSVl+npQReglWWR89Z6NcjY 3MhzswYL8snlqhmLaTYcC3mFta9gMRpHDnJ5GYOsyvF8RyCADPJMsfwusN5jMAIlW3YB sDCto7MC2iL3sJIpha7ykKdwKRtqR/TqOP1GJxDupxMpp8cGPv8LqnYf/FvpQJE26mgl SkjwE5bq7Cg6qGSrN2ceCDtIT/dEKI4ZuN7iMVBfqQo7ntCyDo1weJFEALExGZvzYH6r H83g== 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 u34si3775096qta.358.2017.12.20.08.01.20; Wed, 20 Dec 2017 08:01:20 -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 6FA7E60997; Wed, 20 Dec 2017 16:01:20 +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 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 01695608F8; Wed, 20 Dec 2017 16:00:37 +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 F3919608ED; Wed, 20 Dec 2017 16:00:28 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 6722960816 for ; Wed, 20 Dec 2017 16:00:27 +0000 (UTC) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 1C87C40841CC for ; Wed, 20 Dec 2017 19:00:26 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bqlBfNV9CT-0QAqSgUr; Wed, 20 Dec 2017 19:00:26 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id SwIUpkrZYA-0P50LFX8; Wed, 20 Dec 2017 19:00:25 +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: Wed, 20 Dec 2017 19:00:20 +0300 Message-Id: <1513785623-30862-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> References: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v12 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: 170d41370418d3dd8da3808c800f2894f36cf9ae **/ 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 Wed Dec 20 16:00:21 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: 122482 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5766128qgn; Wed, 20 Dec 2017 08:03:37 -0800 (PST) X-Google-Smtp-Source: ACJfBos4oJQbIxBJDAp0rib+X+lxnthmx7P5MslnL3dIeKLNWeecv9vGbqIgFdYFvbSpY4ZtltvJ X-Received: by 10.200.36.105 with SMTP id d38mr10783537qtd.180.1513785816737; Wed, 20 Dec 2017 08:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513785816; cv=none; d=google.com; s=arc-20160816; b=xjeFoKaPuweSixdBM5LEqYbO+B10MiyvnhQEfHSAMCX7fWMSYHknppJHR3uQy51KHl 9WRYz6tq5en8LK275AjpDmHxrpuRFPOkw/kUgBW4OJAxnBhSAm2z8XbnRWh70MldKMeB edmGpETiMN5NSBPaLzSX1Xo31QG15yy6QY/dwV9+tvMZwvfgxVp0waKUjtp6tgrh7N6n QeiEzFKXw/+UrYAd45U9LlLfyuhej9Lkqo8Roow6eUACEvjnWPpapMNcXK3Z15nGv368 +fctDwqFT5JsOZQtBj+0ksgNsiAoUo1KSbLTrycrGyI0mWpSL0hW9213y1X4KwKAichQ 17Tg== 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=fG1D14oA1k2TCmqFDx45jL6Rv58y97jR/ujGOKyVqUI=; b=ATQQMZaPX5J5UQ5OZlcKplU4QUjhx7dSyROALFtDpyhyaLijbLsKAE90D09eMX+iYM W9K4xF4EKCdEGkTF9ZWb+sJoTHnjbvD938CopHeal9FFJh87wIkXRgMHHW+r1LzOiwFn JMT/5KbDcLbMlzEeRh60HpPEP0OU27IXq4y0GcTMBnV4qOFLdLMRK/D1Q1ffzHNmC80o SV1dpvBry65RDIp3rSXax3cV6T2g6jFzFSY8SGI6b7NYjqDZyjxASwAvTJAeWb1PT9iK 2HULN8rRXPAuLRsTvmvDMSvlb5PXzatka2Q6XX5b15c2WD65K4bSRG6iXJkDJXYijnlT xmKg== 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 n189si4808128qkf.215.2017.12.20.08.03.36; Wed, 20 Dec 2017 08:03:36 -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 6122860907; Wed, 20 Dec 2017 16:03:36 +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 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 70E906099A; Wed, 20 Dec 2017 16:00:57 +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 4F4AD608F6; Wed, 20 Dec 2017 16:00:35 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 09273608E8 for ; Wed, 20 Dec 2017 16:00:28 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 9D67D1241B71 for ; Wed, 20 Dec 2017 19:00:26 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Q9NC6PCgTm-0QsqQ4jw; Wed, 20 Dec 2017 19:00:26 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id SwIUpkrZYA-0Q50hl1d; Wed, 20 Dec 2017 19:00:26 +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: Wed, 20 Dec 2017 19:00:21 +0300 Message-Id: <1513785623-30862-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> References: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v12 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: 170d41370418d3dd8da3808c800f2894f36cf9ae **/ 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 Wed Dec 20 16:00:22 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: 122479 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5763711qgn; Wed, 20 Dec 2017 08:02:02 -0800 (PST) X-Google-Smtp-Source: ACJfBotU1YBcfMPHM3IeVhL2vS4AkEPHxLfD7VlZHrM1zQEdOc4TBUbBbmPhze2cXzOtZObUQ5Nf X-Received: by 10.200.44.243 with SMTP id 48mr9825147qtx.99.1513785722136; Wed, 20 Dec 2017 08:02:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513785722; cv=none; d=google.com; s=arc-20160816; b=xhW9cjAly4RUaUtkm4vsWWVnMB2jWYV6oxI3lMpwoKjm0K9iwHh36gLf4XzpOudGCU dcjVWzF0xnMNrRTtAtgjIC7uFg0xD3x0a/4/HgZ02VfoJjVI1Nr7WxplGpeFAq9rgQ0j qzcRaSaRYGNB7HTEEZYwUw1dF+p/81Hnkx8Pzb65aosf27eC48WosLDD9sGMskM4SCyD e00Z/BplM3RQvucK/b/CtB0OpjJrjbGe3OtCIIkxo65WsJSkWlJ9M+4KMNODHSVSbLe2 l9QOT5rcxYv+zw41uPkJCzyre9podW8QUN3XWNI/HB5xdIBX8h4pc8wYGcvgHVGPD/u3 tacQ== 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=ADEAnNTmwtBS1U3i0upJ2b6PfpJX84f0MjyRIPaXtzE=; b=pvUivKx2Wzp9r0KJ+vBPJu9AWhy3Gts0i/fjd8waVCNgjVx6zvUs12cylIJUFJuqd/ 6LX1xx9DW32oSSo9uZeKt1TCmf931yNj26bIsQp8JgeCQGSufsNBiiIrmq16npcBv6MU iLXfqCCGn38j2glsR8kEpj7DPsAUUWM/STavHOn5lP5dUWVsEzPUNfYEbnyzfJ8ytcsB IQg2PS0IRqzMKO3RhzQXnoU1VAmeP0UcwTrY8LgX2K/mHD2WsAWNvr52xgEkrKoWaZ5T x5O/hvfOMIVzEng4NiAbTtIq7B+rgpB4l4A5CiN9lR+kQaXEjuIvaJr7Tm00LSlsXVxT GmHA== 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 u38si948116qtu.453.2017.12.20.08.02.01; Wed, 20 Dec 2017 08:02:02 -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 B4B19608FC; Wed, 20 Dec 2017 16:02:01 +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 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 65D78608FD; Wed, 20 Dec 2017 16:00:44 +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 8C050608EE; Wed, 20 Dec 2017 16:00:30 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 0F808608EC for ; Wed, 20 Dec 2017 16:00:28 +0000 (UTC) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 119044083497 for ; Wed, 20 Dec 2017 19:00:27 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback7g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id oW2Qasx7SR-0R0WHNnY; Wed, 20 Dec 2017 19:00:27 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id SwIUpkrZYA-0Q54AQd8; Wed, 20 Dec 2017 19:00:26 +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: Wed, 20 Dec 2017 19:00:22 +0300 Message-Id: <1513785623-30862-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> References: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v12 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: 170d41370418d3dd8da3808c800f2894f36cf9ae **/ .shippable.yml | 8 +++++++- scripts/Dockerfile | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.shippable.yml b/.shippable.yml index 9fbb29190..6e5c66fcd 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -38,7 +38,13 @@ build: - ./bootstrap - ./configure --disable-test-perf - make - - sudo env ODP_SHM_DIR=/dev/shm/odp make check + - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes 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 Wed Dec 20 16:00:23 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: 122481 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5765112qgn; Wed, 20 Dec 2017 08:02:56 -0800 (PST) X-Google-Smtp-Source: ACJfBou9d1BZ4WT6neqGlN9sJjejA7B3Y0TU42+hdoeZ+dHwqF8GcMclhsCrZD96eKXbAjBW5n63 X-Received: by 10.200.27.36 with SMTP id y33mr10997121qtj.291.1513785775909; Wed, 20 Dec 2017 08:02:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513785775; cv=none; d=google.com; s=arc-20160816; b=0PbSkm0PR6VBS5+/Fuh+CVIIQzyCBwAhgh10Pbs1Pk+/JyfvHAmt7qLacnljZuA+qZ 0ormD563jfwZiMWQ7XGPa9rIG4OrF+MVhw6VmCTEPLxjAdxzWkXxcvSeZXw/F95+qJ2I os8gLUWE+V4Pba/Y6ZQdCFXtwPDU3edzKZifBLjI1HUtNW5StH+h5I3DDqpJJ+QK7xzG cCYXqEg1xSguZ1zBo4cxrwOx1IJAebBnQUwKW3zSSPAWgG4v2/RBArMXEtefEbNt4bvl 7ZPoMCyF0Ud4lV4xdJuiSkb0YRzRj5Xg2W45/pSmGfeR2m9jaN7IwLC6pdnAbJXl8EE0 FosA== 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=pJiJDLzN4gjCbC781Euq8VCsgkoLysHP1tA97MrkT38=; b=dCGV4+m0nZx9+cBEn8HlCOAQZmlK6RZd3+OVxe8WJscelmj/u7k1IgXnEaR2QOlr9g xTxeaUhRbBKjUkUSdFX22J6gVrDRP4q18RdS6z4OKEtbrcih5LuIGx2OKvdsGK+sEqdu rHlt4u+t3eFhq3ErsKII5HBNnODd2M/Sy7PJNCYIgDDZkMLzDZ1LRed7jabgb9iJHt4M A+6dy4LKcsGf0Hfbs6o5o5ddGXjUml4wO4O8Atid0yUoyr/u6EJOjAXyJetMhia0cDSN 6vOfssgA9v00biuuTWWEzisqoEjT5EicV5H0e4JkJCHsxa/XtwODgeFHCfLPozccF/we r78A== 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 s10si5491933qki.83.2017.12.20.08.02.54; Wed, 20 Dec 2017 08:02: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 D539A60905; Wed, 20 Dec 2017 16:02: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 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 253666095E; Wed, 20 Dec 2017 16:00:51 +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 14B46608EC; Wed, 20 Dec 2017 16:00:31 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 1916F60816 for ; Wed, 20 Dec 2017 16:00:29 +0000 (UTC) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward104p.mail.yandex.net (Yandex) with ESMTP id B830F185053 for ; Wed, 20 Dec 2017 19:00:27 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id M7XR5PzsEg-0R0mjSJQ; Wed, 20 Dec 2017 19:00:27 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id SwIUpkrZYA-0R5SRjLB; Wed, 20 Dec 2017 19:00:27 +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: Wed, 20 Dec 2017 19:00:23 +0300 Message-Id: <1513785623-30862-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> References: <1513785623-30862-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v12 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 until 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: 170d41370418d3dd8da3808c800f2894f36cf9ae **/ .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