From patchwork Fri Dec 8 14: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: 121166 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp701999qgn; Fri, 8 Dec 2017 06:06:47 -0800 (PST) X-Google-Smtp-Source: AGs4zMbAHZ3s4LS/3MEihBjJVZBV1Leru4X8uGFqWOGydg9M7uyy/oy+NSAxLgsoDFgW9UZSpJBF X-Received: by 10.55.19.206 with SMTP id 75mr33232738qkt.33.1512742007560; Fri, 08 Dec 2017 06:06:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512742007; cv=none; d=google.com; s=arc-20160816; b=BEo5DH0GKoMhb3tMv7mIMMWLNAzCa69fyeOySPh807rq+6JQhH81yeL6iaIumEHW4t SOudjkubKDwdQYasekiK7kDnTaY+sCElwFyzcVKyl/2k4guGoKnyUmyDq+wz8fbbxzYk ejrlAhNPmZQGE4BJvKNkpWK9at4D+Cn36VRpWMqDdjwY9KhFv5V50NI1GX1zl0d9zAgN fC0nWSdQpRMEpzfkvXXLBf0+ZyZhGJSOzVawW2U2VBapAQCEHQaZlxL/gN8Bze76Qd0t V+Das/BbfDDE4kP9edKjzrxUfQP+qEPlec26gVEB1VIbMUDTy5ZG8RqvEXhZRILxknWQ OuzA== 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=9cNoNWxL3xncizJq4XuVSC8YIx2Rt5veZwlOrO3Virg=; b=XBgfoeEjb5UKyNqrfbFZ+jzXd/5BKh7scB5TZU6S5PbytPhUtD/KpCQVTxYHPtCJNy Ci3udlqb0J+nD1NnCDJkiPYCxULP7/UiB3zdCp8EEGPF351i9ikxfq5+2Y1h2D/kvdT8 JXwF+Xy9w3WYX7EoK7xHg21K+9SLgXGVj+DwwuRIYIdEIwA32g9x/6oDF805meatH9aO UWufEIN/fnTS5vXu9YURfpMpeG3MeyIvhuNWG6MIiU9azP/fJmiQrkzBHK+9g3LvfLJm ONh1mLDse+QYE5R7eU4q29r7YLvFG1QIzL02YT/U1boPeQkO6C1hvPncTunsxuSCqdVc NMTw== 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 j4si5495160qtd.241.2017.12.08.06.06.47; Fri, 08 Dec 2017 06:06:47 -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 30EC6609B5; Fri, 8 Dec 2017 14:06:47 +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 07D7660A07; Fri, 8 Dec 2017 14:02:19 +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 71E8C609EF; Fri, 8 Dec 2017 14:02:14 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id 2EE7A609A2 for ; Fri, 8 Dec 2017 14:00:26 +0000 (UTC) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward103j.mail.yandex.net (Yandex) with ESMTP id E970134C20BB for ; Fri, 8 Dec 2017 17:00:24 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id hC2i9aT98e-0OsuOl8x; Fri, 08 Dec 2017 17:00:24 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Em6w1yWDhQ-0OP8418N; Fri, 08 Dec 2017 17: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: Fri, 8 Dec 2017 17:00:20 +0300 Message-Id: <1512741623-12503-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> References: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v6 1/4] 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: c15a810b7a47f2e07200f83aa534163ca06e2b16 ** Merge commit sha: 0cdabd14b0d18093820a34f184f68afe04aa851e **/ .gitignore | 3 +++ configure.ac | 1 + doc/.gitignore | 1 + test/common/odp_cunit_common.c | 9 +++++++++ test/common/odp_cunit_common.h | 3 +++ test/m4/validation.m4 | 11 +++++++++++ 6 files changed, 28 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..1497a33c7 100644 --- a/test/common/odp_cunit_common.h +++ b/test/common/odp_cunit_common.h @@ -17,6 +17,9 @@ #include #include "CUnit/Basic.h" #include "CUnit/TestDB.h" +#if TEST_CUNIT_XML +#include +#endif #include #define MAX_WORKERS 32 /**< Maximum number of work threads */ diff --git a/test/m4/validation.m4 b/test/m4/validation.m4 index 65ba2aa2e..216510a76 100644 --- a/test/m4/validation.m4 +++ b/test/m4/validation.m4 @@ -31,3 +31,14 @@ 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]) +AM_CONDITIONAL([cunit_out_xml], [test "x$cunit_out_xml" = "xyes"]) From patchwork Fri Dec 8 14: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: 121169 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp703721qgn; Fri, 8 Dec 2017 06:08:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMZvcj5DhD0hein5S+rzn2nCEzqe5Gify36aB/CaOqNBEthZ7rTeRRHBNi9YJ008/jqSIVdq X-Received: by 10.55.128.135 with SMTP id b129mr35471936qkd.319.1512742089315; Fri, 08 Dec 2017 06:08:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512742089; cv=none; d=google.com; s=arc-20160816; b=JnPLsozwz0z6UYlichuUMrF3vGyB9khIRhNfRz35DjdkW5bXVdMuVEX08DpLyq6ohm r2NLB5spb4THM8ylcPyjo3zXoDYIam6ZHmCGwDylM4u6N04zkLvM/LGN5JlR7MaRLlET aCH9U78p3KqSEX8W5/JAlgTZ8uWqh1iq/DfwHKmi04lv8e/bRtFuN32N7fR2P1mR8G1o aqAic8YzodqKNn9eUlCQWFVRoHNt06MqERiR4XQ91Xr8vHFlOif0rrft12osXz/RIKgH noquc1WF85G1XypfGUY3ULo2gwR1rFsDwZcmz9VFPfg6krQFhKTIPkHWPQ+kGoimMdCI omyw== 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=yQdhLbRz6ItijmIfh+YqhA3git75byNKbLEvtRkho9w=; b=zfDNFe5xMIzJJzvFjlVjU24c3yFbyObD+5vHZxuvdPfOIvUZmALpkxSq8Ajo63eo8D dil6trMX308pxWr8NIYzHdJWeIFK2vyNtj+XL7HaV54fHIwa7wr7uQ2DzTxAzswX3+OU /MTqbnHYo1dvDIXA/wxLMQJAGsxJMd54gCC8bx8/h2x3jBIO1OJRXF1URmyhbOY9Gb9Y yLKDV+YW34qNwJaEKJqcrdx+0CFWpEZxC7cF/bfZEmI78zInPqqZweWy5+baq8hLDoaa TOLr5lzQZkFlPAcL6hP1ZVUOPGYW+4dkqbz2eBuYlyAXcIdMpZLN2m9aW9c059xqEX6/ XxgQ== 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 i186si6029195qkd.146.2017.12.08.06.08.09; Fri, 08 Dec 2017 06:08:09 -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 052B5609B5; Fri, 8 Dec 2017 14:08:09 +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=-5.4 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 1EC4B60A1C; Fri, 8 Dec 2017 14:02:32 +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 5A92A609AC; Fri, 8 Dec 2017 14:02:26 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id A0ADA609AC for ; Fri, 8 Dec 2017 14:00:26 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 5EFD94082182 for ; Fri, 8 Dec 2017 17:00:25 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sADnXkcjrN-0PoiMgC6; Fri, 08 Dec 2017 17:00:25 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Em6w1yWDhQ-0OPmxcCC; Fri, 08 Dec 2017 17: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: Fri, 8 Dec 2017 17:00:21 +0300 Message-Id: <1512741623-12503-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> References: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v6 2/4] 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: c15a810b7a47f2e07200f83aa534163ca06e2b16 ** Merge commit sha: 0cdabd14b0d18093820a34f184f68afe04aa851e **/ 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 Fri Dec 8 14: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: 121167 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp703033qgn; Fri, 8 Dec 2017 06:07:34 -0800 (PST) X-Google-Smtp-Source: AGs4zMbOp8zoy1Liss6JYZg/HlvsdvTeLnc327ZKfnALE+f/dnQJD+KiAQUXHRpbK/XSGk/kSXjl X-Received: by 10.55.155.202 with SMTP id d193mr6292767qke.311.1512742054459; Fri, 08 Dec 2017 06:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512742054; cv=none; d=google.com; s=arc-20160816; b=1Ky8No6UodzOLQQ/Fvi7sjrUiDldn36twnj3/Y0ItOLNBZw0S+GOkUPlsoI4dhwbJ1 HfimTmC6l9Md8fQa9K1YnlOz3HV+iHUgx2860/oJRjdms8/JBFX/hepAjplzDsjyB5aY 2I9fBj/a36k+IKbI52rp9AUfX8XcZUuhPoSBfaZDaQgyIc1ENDu39HU4M22RO3ear5Zz H5cbMXAFRoPPtBkV5x+YSXqn6PUO/nwqoxmhR9VeEojxtKsDei6tFwIiAlmvZpOWg9uB EmmRMMzHRNn1l/+z2s+LIa1ovse8FCp0x0hEOxYcOdfkVNgK0RNqDW4iAaTcOKhsX4FA 40nQ== 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=wvPR0/1JBw4j8/HntyIAO5CVZOd0n93IlOkBFQfO8nw=; b=Znep1G1YL6+FhqzvaUg/9MOnXYzIvrBarES5kq0cOD/YOt7/bvEdE36gfjsmtdAuLj cweBDRhA4o35nQzVU+57Gfn1mFGAftRhYEDy9ls9hE22T9aUL4kNxkzcIEnDeBW8hmNu zJRtV+f5o1ICikXLUUucnVeUeamU+JY1iBSYbofxWY8yJlelRxD3E68jUZSVGVGmd9FZ Ygw8s/LQSklKpn0NzH4IGD05vbdwaLuq88sjYZNwaKu4oZWGuoVn0bxFDfHVcap9rNrQ EOeekZTy3EMC8mgt2oOv/t6POmbfJxFZuuOc2v6QRnj5xHRc1vBXBHelBY/eTGc9dVwx jf+Q== 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 q63si5771882qtd.356.2017.12.08.06.07.34; Fri, 08 Dec 2017 06:07:34 -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 08564609F5; Fri, 8 Dec 2017 14:07:34 +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 60C3C609C2; Fri, 8 Dec 2017 14:02: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 4728660A0E; Fri, 8 Dec 2017 14:02:23 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id CD086609B3 for ; Fri, 8 Dec 2017 14:00:26 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward104j.mail.yandex.net (Yandex) with ESMTP id C068F446A7 for ; Fri, 8 Dec 2017 17:00:25 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Ia6ePrUUtN-0Pji1LfS; Fri, 08 Dec 2017 17:00:25 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Em6w1yWDhQ-0PPutir0; Fri, 08 Dec 2017 17: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: Fri, 8 Dec 2017 17:00:22 +0300 Message-Id: <1512741623-12503-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> References: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v6 3/4] 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: c15a810b7a47f2e07200f83aa534163ca06e2b16 ** Merge commit sha: 0cdabd14b0d18093820a34f184f68afe04aa851e **/ 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 1497a33c7..323958f26 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 #if TEST_CUNIT_XML #include #endif From patchwork Fri Dec 8 14: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: 121168 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp703238qgn; Fri, 8 Dec 2017 06:07:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMbtJ9PQ1y8YmTdeWeojtWpi2FzjxvJnHqE69dx1N6WdApFOm+lXY817KBLj+RdCixmkui/g X-Received: by 10.55.195.216 with SMTP id r85mr33075809qkl.218.1512742065288; Fri, 08 Dec 2017 06:07:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512742065; cv=none; d=google.com; s=arc-20160816; b=HFQXqYX0lrOAcWcQjhLdRFxJYFzLl8y3CoJbKiK6FW/qtwMEDuYoBYld5KG9slGP0b RvU71JWXo9yon3FUuD8klq0uYE4IBQlYppX1sFVonTdLityJW5Ye+LPaFFWyJANxU4KW L6Wc5HHJ2w6h+yUwxqlFtJDxcUBW2LMcosSXM2LGD3F0vQxSefAKCisIL88Xo+EiYI1A RWEgRIwGIb8YiCECHsDQiO8GcI7xKTS/3dgnze82gTF4YcFjw2UULP2BRN7wSoF8oY8Q TgMpbT32WCW2bNuV1aIrb2TlfSfyw6DjbTfMGqA8KECn/5RspLgoKjSmQX+GilYR4N8Q qyOg== 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=Rp+w6BKN0HbYlGHBuxMcJSdUQXT43wCwzp/vALF6Mvo=; b=E96OR2mmmkirh3z7/vlHhRXWchBA/iNZEpwcqncoGK9olIKi3EMX8VsJsyTs4WKByR e1x5zw+Gv9mORyGBUCOfArOmrCaEe3tAVfu4Ny0Jzy+Jr/PkfnxVLzw0XmPw2to/bKZu OLA7yfhRub4HVdokZn8QCuXkq7E3iAQQTNKd7/KRv6NRQUs24m7g9Drh43tTctF5bgGY 3spIG6D+qI+tk/FtJdAjzlOji4iqXDM2UtWCsb4tX0HysWwFyNjJz+VperUq2YlqNwlY pD9JYYpV91XdjZEMxwd9C+/zPKWi+l2wHYOTE2CeagF9Xl54gl7lu1mycSCUa221F2Tu mRXQ== 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 w23si5217805qtg.115.2017.12.08.06.07.45; Fri, 08 Dec 2017 06:07:45 -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 E7007609FD; Fri, 8 Dec 2017 14:07:44 +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 C88C860A12; Fri, 8 Dec 2017 14:02:29 +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 A5DA860A06; Fri, 8 Dec 2017 14:02:23 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 9A3AE609AB for ; Fri, 8 Dec 2017 14:00:28 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 4ECB521836C8 for ; Fri, 8 Dec 2017 17:00:27 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 1PUIl5bBxi-0QpianA8; Fri, 08 Dec 2017 17:00:27 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Em6w1yWDhQ-0PPKUjXC; Fri, 08 Dec 2017 17: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: Fri, 8 Dec 2017 17:00:23 +0300 Message-Id: <1512741623-12503-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> References: <1512741623-12503-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v6 4/4] 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: c15a810b7a47f2e07200f83aa534163ca06e2b16 ** Merge commit sha: 0cdabd14b0d18093820a34f184f68afe04aa851e **/ .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