From patchwork Mon Dec 11 20:00:16 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: 121460 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3220480qgn; Mon, 11 Dec 2017 12:02:05 -0800 (PST) X-Google-Smtp-Source: ACJfBos1GpSya7fS8K7yc2kHCPdlQ7YeVFX/6VUq2YQSuo7Zo6qweWhkyqqyHa28dY7R+MCfSO3O X-Received: by 10.200.50.78 with SMTP id y14mr2433619qta.84.1513022524920; Mon, 11 Dec 2017 12:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513022524; cv=none; d=google.com; s=arc-20160816; b=FChLWvvCbL7bGM71j7AxpuqdrwikmTqI6UUhiSvgZxJrvLXwo/L9HEgam9h6LQDrhQ sCE0XDzeTrfHugQT+0pdr/NPCN3tVZVrOwYzy/uyqwLSoZx3kx76aFpD29uOLG/fDfNY PnHvGVWYkdv9ma12QVeGxg61hqsPncfGVSwdeyb7PMwCkgmtyNI8SIe+3VJtZFg5CW3v cXGzTrCQ9LLuwkFctmoLj6tIuA3j6bqFQ/rq5Q0SudsbAO36OCQPuUXaBeC36em+DJaw +6e8m9AMcY5WDOvABS8Xfp3ZtaIMxK9rvreVi4I8t3uGJAKo++7FxbFJs62K3R18GvIw M9lQ== 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=iI3q/1mh8gSijXpg6O3aJCGLYk4x4uRBmbgQhk6Kg7Q=; b=P6o9yIhYshieIhu8KYS0C6M/h82bmlAvC+WpdFTBOhYwB+zhNuLliXp7xT3oW4F3JF ZvCh92sBjCVhwW+rBuPcbwTvNBjoGphkmVOK/O4+BRqR3tn/LdDgSsof5O5fzr9C8KHR +ySdSYZ+Ez9bI/HX/FF9jyHrN1PJS7ukKu7h6aoLjJLFM1XV7v1TQRUxhYxmbSIzciZY bfPC6RY+RxtCEYMXFhpjj5uG4E8S3UyIIW1zn3C+vNeISIGSiTyjzb1rLZrzkNrq/Fru O1HaOU4r6zrXDD60W8d+vQGtey+WoeJK0WKDC2TuVqMWchaBfzPXm181Y5WPT2jJguKG gwxg== 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 b20si1472293qka.75.2017.12.11.12.02.04; Mon, 11 Dec 2017 12:02:04 -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 978956097B; Mon, 11 Dec 2017 20:02:04 +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,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 4AAF660985; Mon, 11 Dec 2017 20: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 313E06095D; Mon, 11 Dec 2017 20:00:27 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id E8A1B608E8 for ; Mon, 11 Dec 2017 20:00:23 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 6E7F57026DE for ; Mon, 11 Dec 2017 23:00:22 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id rBae0rfDuh-0LFm1LMD; Mon, 11 Dec 2017 23:00:22 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jr2z9dCikj-0Ltif1Pm; Mon, 11 Dec 2017 23:00:21 +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: Mon, 11 Dec 2017 23:00:16 +0300 Message-Id: <1513022420-22227-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> References: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v8 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 9af6bae56adfa7e06e06d13bb60a5964fcf40977 **/ .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 20:00:17 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: 121459 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3219616qgn; Mon, 11 Dec 2017 12:01:31 -0800 (PST) X-Google-Smtp-Source: ACJfBovmrAoa3LKaMeGT9HB4DFbSF8zwTiqEinlwxcr+ud/WLohN9vNbtPiT8/sPTNOJUxXdohYX X-Received: by 10.55.142.3 with SMTP id q3mr2306303qkd.276.1513022491098; Mon, 11 Dec 2017 12:01:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513022491; cv=none; d=google.com; s=arc-20160816; b=QxJbsidLhf5dSAp3KhhCQaBCtH6yi4BEfkpVL8U8M2+uTZgd1TIEvc1TwZViFPxTux a767ooye5B3np8feONF5usAzoEzTQdYsVncTZi44xRq5EDHOkhUCB5Q187EV528RPT4c cQahfpi8X+G4Oih44VSi725OxH1rJJ+zwPnUIkJ/WCxVcDOeEBYLe67j//MD/gOOCcwm ZQ73b+I8zTVRnrNL0MTRnd5E6bTp+hDiR26bkUlWSnD+JDInWIO5cuYrYJAcDA80cdKC 4qekmQzrib4QfsTn+40gPD+tHVsihnk0c3Cn1dcoM2m81yQHA++otDssKyss0Fn5reYv eSCQ== 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=cU3n9CLSAllBvKcOCExjXVpTFdxbeCUkYGwH65v+Ke0=; b=J+h0QQir/gAyEX228MYY4rsCRT44GMppIDDhtwfOE2CQAVVu6CNPOoP0wQuvEjFX0+ HLLF98SI0aGPtQjthFeU50xR8uWWDaEiyDCBRCLwjxDQBRqTMhAMvlHhrQSU6xoaklyQ aSJFEP4ThuonP66lSZk35usyWzOU/2A+CzqR9mBD2W7Bml8Mon6UyOyaDWpk8A0r4NMg gLUhlg+2xNKoyK8M8nCLmGihL38C1fAsIFZWToqIlyWkf7HZ+Ru9bz6kuOJo+anBi0cn wBIFxfE5JsN0uvm/l6SO/RHSQX/GScm10GIU/wBniokIouUycEa2l07yd/k1SJ1qkfRW 84rw== 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 q85si403639qkl.268.2017.12.11.12.01.30; Mon, 11 Dec 2017 12:01:31 -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 C356A608BC; Mon, 11 Dec 2017 20:01:30 +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 E778D6096D; Mon, 11 Dec 2017 20:00:33 +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 E61CA6095D; Mon, 11 Dec 2017 20:00:26 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id A836860902 for ; Mon, 11 Dec 2017 20:00:24 +0000 (UTC) Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 6811B2182771 for ; Mon, 11 Dec 2017 23:00:23 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VklhVEBNpv-0MAu0kmq; Mon, 11 Dec 2017 23:00:22 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jr2z9dCikj-0Mtukgu8; Mon, 11 Dec 2017 23:00:22 +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: Mon, 11 Dec 2017 23:00:17 +0300 Message-Id: <1513022420-22227-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> References: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v8 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 9af6bae56adfa7e06e06d13bb60a5964fcf40977 **/ 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 20: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: 121458 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3218932qgn; Mon, 11 Dec 2017 12:01:08 -0800 (PST) X-Google-Smtp-Source: ACJfBosmVbfkJ4zHUeuFRJqMSVuYN1ygIDNQdG0oTl/yG581LumbHzzS+Os5uw4VUN6O4Z5dRQeB X-Received: by 10.200.51.46 with SMTP id t43mr2326631qta.75.1513022468343; Mon, 11 Dec 2017 12:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513022468; cv=none; d=google.com; s=arc-20160816; b=I/N/YEZL6yRYQCMxX4PQkeRQorhTGJ3Fy10t68semS2bHY7JCvqiUhePCXm8KP90Xk mJNvsQAevtMrZuScm287cI+Ow8iIZCgJLszkXTEjWnQU/CiFITUUZhsb2/OV6P334Dls LJDDmlTe6u+Od/nPUIYWbPEpOUORPsyo/KDXEGjvkR5TKB1YZ0QV9w9qgUGhOgQPoPeC ncrxnzH5LQ+a5jwHTRikNi6B7ohIEfwbYyhFQfRufGKSPdEoiyLmaizmRhbvub8UOknT kIflypOCK2GggeUndkAeQoCD4M7lR68va5ISm58KskIXcH2tUYr6Qj/8FCBd1KpJQPFj 1WaQ== 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=mJwT7g3h7pGueKmDuu6/TwFCdY5lMUfsMDQal2mUXnU=; b=GhaEwCoybsTKjb89JrD0SBDL5umj5439KA2s4JOTylSNp2D4ZTIOb4dF5B4tAj5PAR iEorT8Q+QY+vmKSwiRt6T6VLjus7UjraNrEF1gNOhYetenXmV/AFiicFlGmU5s/nXdrM L+hnwi6ejdFu60tYkdJQMO+goassXpcTFLoyHfNHOik/JRqVwPLSeFh6WP83shzANjq6 BtNTqAuDuhHcC03c1Zp0ysFTl5KMWPDwu6bGkSjQhamc1fzQURtiZ6OdldZIBM2dXS+V yph0TsTorhmCbpq6h0WLeJZV45INa0ulsFHu7JiXnx9RlItgr02fkgcMsR/qaQVZrpMP 9ZyQ== 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 s73si774183qka.202.2017.12.11.12.01.08; Mon, 11 Dec 2017 12: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 F0E976097F; Mon, 11 Dec 2017 20:01:07 +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,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 7961C6095E; Mon, 11 Dec 2017 20:00:31 +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 732546095E; Mon, 11 Dec 2017 20:00:26 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id 2B949608BC for ; Mon, 11 Dec 2017 20:00:25 +0000 (UTC) Received: from mxback9g.mail.yandex.net (mxback9g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:170]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 1A3307028EE for ; Mon, 11 Dec 2017 23:00:24 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback9g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 7MGScep2Mf-0OmqccBR; Mon, 11 Dec 2017 23:00:24 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jr2z9dCikj-0NtWnB99; Mon, 11 Dec 2017 23:00: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: Mon, 11 Dec 2017 23:00:18 +0300 Message-Id: <1513022420-22227-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> References: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v8 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 9af6bae56adfa7e06e06d13bb60a5964fcf40977 **/ 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 20: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: 121461 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3221697qgn; Mon, 11 Dec 2017 12:02:54 -0800 (PST) X-Google-Smtp-Source: ACJfBovz5DIvevMZfKVSwCkuHoUylcxMH6hdEjtMrr3t3hbH0xU+vA7XSx2xrf3UhgdC2xtd1HEY X-Received: by 10.200.54.176 with SMTP id a45mr2201525qtc.176.1513022574020; Mon, 11 Dec 2017 12:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513022574; cv=none; d=google.com; s=arc-20160816; b=LJTqSOrPq3ehYYpfhg7wZtVvqf9J/FpsDDjbV9HVgiOENnqAr1VvN2gWR3Ef+8WB3x jYJGMhyF7DKiWtEK/hQWcbvKcdzdZNdExnoyD7+HmqS9Iwyhxp2SKpM7jUJo8lJyGpxx MvcvuvgvoCn3RHdUfJ+do2YTuJ4JJ7K7kn5OZAyTsB5H/s2LdeDovrCgh53Y4XAhzOsX A47lnKqP0hSFGwIBZ/GtyMVKd6BE7xf/t8n694xWFG9LJt8vpBs3Wabj0v7gRI2mR6Kk jD0513BEHtxTIXqTyyuIfvmzp1DEQBGeqgTUAJ1vXTooyp7pSsyS6vfaLoEKf7Il0YGt 0q2Q== 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=93EM2d/DsUnbQ0xt1SVwKUcSDkndx4FY1fX9gfayc/A=; b=FjX6S4Ouw+4MUW1ifXpkAIAzCi5cRBlIc5rVogJF0iK495jusRlnL0ZocH43pKN7DX JVF9Kmox85AZwb6Qr7Y5dGX8lDfy9gkwa5gC3sASf25wI8JLTK6o3HwfYFyKNBo22eCS 3uL39px5EtQBrkafWpaqBOSEgTMVBHfkskFFYMicisXeQqbYWqnig8EjhiYoy8gU9MlL 4xtdC4soduxKSPDkq1s35bwy0lDjeTZz/UjRRGWJsCk6a3+twhaVmHkQ1kgKkvkH79Ts OFGBiPYVDKdF1k8eylraCObJorJUNr6L157rdxo7YvG/L+JfqSJ4lEeajeAid29KdmrJ GcHw== 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 w197si7766456qkb.32.2017.12.11.12.02.53; Mon, 11 Dec 2017 12: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 965B760985; Mon, 11 Dec 2017 20: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 E9B4A6098D; Mon, 11 Dec 2017 20: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 6645560963; Mon, 11 Dec 2017 20: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 33D4560955 for ; Mon, 11 Dec 2017 20:00:26 +0000 (UTC) Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 8D3CE430222B for ; Mon, 11 Dec 2017 23:00:24 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iJ7UgnpJ8Q-0OYuK1xe; Mon, 11 Dec 2017 23:00:24 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jr2z9dCikj-0Ota5xMU; Mon, 11 Dec 2017 23: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: Mon, 11 Dec 2017 23:00:19 +0300 Message-Id: <1513022420-22227-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> References: <1513022420-22227-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v8 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: 6881620135a179911a5839d4be97423a8d80e5ab ** Merge commit sha: 9af6bae56adfa7e06e06d13bb60a5964fcf40977 **/ .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