From patchwork Mon Dec 11 22:00:18 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: 121467 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3338131qgn; Mon, 11 Dec 2017 14:02:10 -0800 (PST) X-Google-Smtp-Source: ACJfBossNW/hgzS+gZVS1GAHDc8/ZJ1S1XrFaplRjSi85WvFzZM/Zs6SytYbEBkegmGyaO6uXBj+ X-Received: by 10.200.39.226 with SMTP id x31mr2899008qtx.81.1513029730114; Mon, 11 Dec 2017 14:02:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513029730; cv=none; d=google.com; s=arc-20160816; b=PwONfORrKLQm462CnWHe0gDW8PzFB+jNu9wSRFgwLSqBG/RZqOPXQgWmDNVkpfKHC/ kMp1LwVZF+u4ztIArpx0pfgKru15zr2zDOOCOHbqJSSYoXj2p9NCfAffSn5aJNqnWIXi Cpf2xfsxFBCs5x0j2Zb2wRhhbzqL94dpI+2FadPX3Dw6hCiUfpm7im6YW9RwhJGRjjA3 H9dmCeOCxeliiCPqdrt0Q9etk9CX2FQ80rxnLpaF1kqQIeDgjba1ILrycz/5OKxNwTnS 2n6DB29Jhzg9Arfmv4kV6f46dl7ej0l6rk8ILLXmDlmElv2psoCe1tEt+V+B7QrhPUUi HRYQ== 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=vPTrL2w4pApadil/9WFDsRdJjWqLEfhGMUJT5SlrQU0=; b=OrwCF3D+W9VaM9DhnJH2jlghDuSG6MZBg54Gb0OEaj3ftRRXMj885yHIDYg8TyAWQ2 5xTm2Rn5WCHhK4rPzvSXhvIDv7GTLlV7WPMV8gLhTz1Q2rQueHno1P0BGYoCCNhHLDXK M/bJQYnbpYdM5m1CDxJlfdO1WzUpCvdJ3mvzXTAh/4PRUfG0SG+bRtVQD8dePrgJj7/X 4vSCSiY/St07lhI5Wscim2840lG2Ar8xMXENwSXc0H3xRq0RZGj9I3A7Tp792xRxK2lO P9C1UEa1gPQyopZhTRlMG3LxSluPTftgVkc5OiAE6SwjAEhWgujOjim252+eN6EijJI/ Ykjg== 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 a64si1321645qkj.138.2017.12.11.14.02.09; Mon, 11 Dec 2017 14:02:10 -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 C9F3D6098B; Mon, 11 Dec 2017 22:02: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=-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 26C5360993; Mon, 11 Dec 2017 22:00:42 +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 960A46097D; Mon, 11 Dec 2017 22:00:31 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 84AD0608E8 for ; Mon, 11 Dec 2017 22:00:27 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 0B7324303F6B for ; Tue, 12 Dec 2017 01:00:26 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sRvtGzcmSv-0Pt4UpkQ; Tue, 12 Dec 2017 01:00:26 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id oe9SStyGAP-0PbCHgq5; Tue, 12 Dec 2017 01: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: Tue, 12 Dec 2017 01:00:18 +0300 Message-Id: <1513029623-29970-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> References: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v9 1/6] 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 512c8ed3c8a8e6317575378fbccc1620392cca8a **/ .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 Mon Dec 11 22: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: 121465 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3336730qgn; Mon, 11 Dec 2017 14:01:08 -0800 (PST) X-Google-Smtp-Source: ACJfBosIC9hUlHebV5AuRyUFvSvJ/+Cq70BRwzND/+9Us4XWjZUe9SaBOPGH2zu3dMmvdTZXVMiY X-Received: by 10.55.192.19 with SMTP id o19mr2648875qki.148.1513029668650; Mon, 11 Dec 2017 14:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513029668; cv=none; d=google.com; s=arc-20160816; b=tuNy6Kb2/dqhQInSytXsqly2MDFvjCGwLn+P/MP3qzyXF7H1GoWBraW+wkvsNV1ChV vviEQQd8RO26ApbvCpgNwTWBoDZzxazZ2ZqjcjKw+AnR+I9h8vaqU7VsAtpMF9z5cxNf AxljcJ3tf8klb+HVhazNrME+6LlDazQ61adaIa9ICXDFl254tIS9c7YrhPufNwhUmsgO mkMV2lig5EJJYvpP9N0C8481cVZ5fQMTMnpBtESgBvcnGYn6a0AIRa3STtj/9h7KRIih n/5Rl66MNgiZ6eB/W+VMdsTqv6PThnhbkTcZyTGo41nt8Oqe4zhZQBJdOpupQcRcwpGX ftQg== 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=iEQLfdAsdGf3uYn1hlVJ0rLmqaR+YXvDIGK++CrTFXo=; b=ogx/FmipcC9NDSWMNzD6ZQGsb73DO3ngN7at+Pc4VslN1fRLitRbFsRkhIdH8z23Yu XAXEaH8lvR54miXlRLsbmD525OiSjAt6aUDCNCTbCfGEYojtVmWEmdvoLOouJRUYf56E UgUadhuxUYyZDGMLUH/QmrAL5JX5AJPFxWUvGtZ+LRIw54YNzHbosJQRekt8nzGyQrnv eHt2DNl7seuJfnEO2zgYHwj3Pj7TxlcnNCjK4vo3fP6GHz2nUS5vwWOiSHAFC3oolJyY qi89tm3MYP1SlTtSRUwOTkkBDWrVMwweIqqg1i8GSfTiBXkZLBkAg+EQCKiH+zW4no4l TSEA== 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 p188si11543282qkd.322.2017.12.11.14.01.08; Mon, 11 Dec 2017 14:01:08 -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 5F4926097B; Mon, 11 Dec 2017 22:01:08 +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 820986097F; Mon, 11 Dec 2017 22:00:35 +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 683B26097B; Mon, 11 Dec 2017 22:00:29 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 3C50160696 for ; Mon, 11 Dec 2017 22:00:28 +0000 (UTC) Received: from mxback13g.mail.yandex.net (mxback13g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:92]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 9956613413FA for ; Tue, 12 Dec 2017 01:00:26 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback13g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id oskKv1FakJ-0QVCU90h; Tue, 12 Dec 2017 01:00:26 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id oe9SStyGAP-0QbCFawb; Tue, 12 Dec 2017 01: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: Tue, 12 Dec 2017 01:00:19 +0300 Message-Id: <1513029623-29970-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> References: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v9 2/6] 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 512c8ed3c8a8e6317575378fbccc1620392cca8a **/ 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 Mon Dec 11 22: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: 121466 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3337399qgn; Mon, 11 Dec 2017 14:01:36 -0800 (PST) X-Google-Smtp-Source: ACJfBouKiueSb9cSgDLzL8gAyDHmZcaFISaHEPbmSCJLzdMExnDEtYkr6p58ttcg6OEUpH0qYolT X-Received: by 10.55.207.151 with SMTP id v23mr2718880qkl.81.1513029696405; Mon, 11 Dec 2017 14:01:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513029696; cv=none; d=google.com; s=arc-20160816; b=Jqu/Sek0Wo5/nTjSHE2srW6FsEgn8PfBJRBKKRPQ/R99BQDnbCGxnaA6HgholmBUkb IjXTURGYL7gvMN9Et0/Qbv2eNtKkhc5DQ38YFB1p193EyvnogqRY90I+l78vFCbMrRuP EUBEqMCNPz0++RlfeCRQQZHiF6+t/wscYn4InEYBBDomIB2Oag6t587TBxqFfDUnA2K0 6be06bxoS1JR9+Wp3Slsa3GvJb6+c0+NxXAOapYbvFg5dRPt+KJf3roMPP4dEpHzODK2 cDYfHMADrLPt4as0PJ9gMlUodLugvxLQSOKCItcRMJb6FLlGT+5TZ8L7PkDpCQazQEjY hKeQ== 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=g57FTu0PxBgmrEvljA/h8SDFvrelH772USbak9f6k8Q=; b=p3n6+uwhO+m5LwrIquuFGDhe5++FaA7FdKv+XPGyloe+YzbvkU3j58SIcDdvv9h3Bh SFl96bX3OJWatiu86OAPlyfxb0t/UrvOWO2iT1R+CJosh8CnQt+456Xkjjfwv0Z/uFhp nvTaLuuxPQ6VhhbC8SbSy2Vl7gvRiOAsVzKX3s5hwOiIFs8g6MKa4gVkcwI7YS44wO+0 nrsMSVl7hrBS5LEg/nuLjr0x7e0rFqWtmk5H7Xaod/YTvVnOSajDbw/EziyFit5BD7sA 16LSbUE6zwm5aACFrRmL85SIe+iw2WiXuhI7q8l33KGqIvX6ld4fOLmK+RN/KRTdj7W1 W6CA== 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 g127si905547qkb.12.2017.12.11.14.01.35; Mon, 11 Dec 2017 14:01: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 B73606098D; Mon, 11 Dec 2017 22:01:35 +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 D4DE66097E; Mon, 11 Dec 2017 22:00:38 +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 4C2826097D; Mon, 11 Dec 2017 22:00:31 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id B89C860956 for ; Mon, 11 Dec 2017 22:00:28 +0000 (UTC) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 3102E44068 for ; Tue, 12 Dec 2017 01:00:27 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HCq6taLE92-0RN0wmb9; Tue, 12 Dec 2017 01:00:27 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id oe9SStyGAP-0QbmsgSZ; Tue, 12 Dec 2017 01: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: Tue, 12 Dec 2017 01:00:20 +0300 Message-Id: <1513029623-29970-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> References: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v9 3/6] 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 512c8ed3c8a8e6317575378fbccc1620392cca8a **/ 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 Mon Dec 11 22: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: 121468 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3339064qgn; Mon, 11 Dec 2017 14:02:54 -0800 (PST) X-Google-Smtp-Source: ACJfBoudMI5QCXAhulwuU/I/GwSdRRr4zqs5YxBbbaQnY8sUYswR62AKbasZsJVwpBDubyBkDjGb X-Received: by 10.36.28.83 with SMTP id c80mr2917276itc.139.1513029774373; Mon, 11 Dec 2017 14:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513029774; cv=none; d=google.com; s=arc-20160816; b=WHqBCQA5F/DwrCbxEclSd7Psy9lJpZDVPMsgXOqA0imhMLozP5H5keKsmANOyS1A9Q HPVyOWEc5B+GjMf1iYlPiZD3Du91NFPj6MnlbHMa68pklygj9Eg1Wk0R/rzGOg2E4qbi ZvWg8fL39YCkmwsPjVWsu9hzBQpwupLaDivVnoISCOVB63SRg9uzCNAHuAAvoEIq5dyw rJjt6x7wku1PpWGfpYHiOJa/htkIIHb2JZ3QllCIN6sUbFVYeXnweM7zvxraP8Ug2x7V gDQDsosn7BUBkBGvhpjHI13ugUPrYOmeZsmr2wx50SeP5PVD/ApI4spWqtIkkTlLhJ0y rMVw== 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=rSxgccLOPXCgIrzyyRll/d7DEuFSEHT7YFq3943Y9k4=; b=0205nkYTQWU1iiYtyhXNnEA0dDUE0ZoDlgMRe8ob52QcHFkGh64LFFJQhCUlrVlAH7 UfykB9liHN4UcFSG9+vq+cTVZLqOmca8hbnaW5HL2B5o3dinaQ2tkjVE1Xyw+aaOkHFU 4V/juuc7A2zfQeuPWmgVHlwNpkoOJLfUinv5fQSC7lLq9w44JSKgWAjxYexAuCBXEyVL Dj2YulnWa/A6LDdzOcHZ9Ek4YDY9N65P5HxGM/O288WT8iNBeBYg2p2gCrC2yX6S4D9x iOTtvmTTg3B8jmi3q++YEkEzuJSfw/yk/syU1Mai64rsgYJM+/uGX5ig7rx4aEls0AYS J+dA== 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 i71si160723ioi.163.2017.12.11.14.02.54; Mon, 11 Dec 2017 14:02: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 DDD056098B; Mon, 11 Dec 2017 22:02:53 +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 77DF6609A2; Mon, 11 Dec 2017 22:00:45 +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 E32DF6097B; Mon, 11 Dec 2017 22:00:31 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id EA8506095D for ; Mon, 11 Dec 2017 22:00:28 +0000 (UTC) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward101o.mail.yandex.net (Yandex) with ESMTP id DE2B91341215 for ; Tue, 12 Dec 2017 01:00:27 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id QQuYfZCxfx-0R1GlkT5; Tue, 12 Dec 2017 01:00:27 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id oe9SStyGAP-0RbCSJPe; Tue, 12 Dec 2017 01: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: Tue, 12 Dec 2017 01:00:21 +0300 Message-Id: <1513029623-29970-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> References: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v9 4/6] 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 512c8ed3c8a8e6317575378fbccc1620392cca8a **/ .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 Mon Dec 11 22: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: 121469 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3339700qgn; Mon, 11 Dec 2017 14:03:27 -0800 (PST) X-Google-Smtp-Source: ACJfBosk8x7N8FXYj4hcgrlXmK9VzZJngqgg1ZQfCpXHEx5uUKC5w/T0V2oHMXprPSxrDv6UlcNl X-Received: by 10.55.152.129 with SMTP id a123mr2695549qke.142.1513029807642; Mon, 11 Dec 2017 14:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513029807; cv=none; d=google.com; s=arc-20160816; b=JAeexSKbwRhyq5k+P3Rwcyop3lMuoFqMUn3wo8aaoWhbZq1vtJzFC/XXdCxsRzCwLW 8GDuSd5s3kdl4CwoMZoe2KrpseHcRVVjWmQ+j0VTicFd55OouvJtQiSp4pvssD8Mh2UZ 8jl+ZWEjJ0MU168UcuWprjzqVH6hYhh1gWNTArwsK3LB4csR5AzJLFs9hI4Kt2AXas52 iamqGnCKFL4iT1GaqRw1jQhXuR0cjfJxNCUTt83+CE2XLl5bB+TE/XSX71a48PHW3WGt LH3bqvI6+8qdW26g0GYdPYPChf/NRoG+g7O1mFx9TDz4/XmZr9lSy5DeeEzcuLEA9QhO sUOw== 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=D/sdVCEIxLqPLGPnGLC/VYDiWfqK20DyLCYS7QCxHPY=; b=cYEB4gPXEJnq7RjAucjYNT9BOri9N2/J5UbSWCmXGAgWNGckYITcb4VjIvcwc2GbeM lfQPLWx72mx2+bzdpcwmYp/FqbuD/4Sa2dePeffbKqvFc1NaoLupv1xh/Q3sRfKby7Hv Qpcj2DfNa5wd3LkB8tdFlZxvWYc/GTpE632P3/nr25XR+3pTmakwgra1dQ+juDH8zpmk LQaZZk0osAA+cdtyvOsDo/xlx782pJBZgIbMnQqxyZM/xks2wcy3RNop0acfvC/AMOie nTFhxcgjVgflm6T39u1zrP7skMoEw85NCnwhwZ6vk5qzcYPd9MIxxs946Y8hWEaFMYk3 k0fw== 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 o15si561358qto.231.2017.12.11.14.03.27; Mon, 11 Dec 2017 14:03:27 -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 44DE5608E8; Mon, 11 Dec 2017 22:03:27 +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 26B6A609C2; Mon, 11 Dec 2017 22:00:52 +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 C326B6097E; Mon, 11 Dec 2017 22:00:34 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id DAB0C60963 for ; Mon, 11 Dec 2017 22:00:30 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 1C34D182AE9 for ; Tue, 12 Dec 2017 01:00:29 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZVfTjrHmVk-0S24sPw6; Tue, 12 Dec 2017 01:00:29 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id oe9SStyGAP-0SbmmqU9; Tue, 12 Dec 2017 01:00:28 +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: Tue, 12 Dec 2017 01:00:23 +0300 Message-Id: <1513029623-29970-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> References: <1513029623-29970-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v9 6/6] test: Shippable: create directory for binary 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 512c8ed3c8a8e6317575378fbccc1620392cca8a **/ scripts/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 751977f83..944fd9dc2 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -22,6 +22,7 @@ RUN sudo apt-get update && sudo apt-get install -yy \ RUN wget "https://github.com/Shippable/support/raw/master/bin/reports" && \ chmod +x reports && \ rm -f /home/shippable/cexec/bin/reports && \ + mkdir -p /home/shippable/cexec/bin && \ cp reports /home/shippable/cexec/bin/ RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10