From patchwork Thu Dec 7 17:00:15 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: 121030 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8608706qgn; Thu, 7 Dec 2017 09:03:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMb7nJgiOuIs8I34b9kSFc2edU3tfjku6Nz4O03OfyiM7m0M2onftslgouC/XoHhkKEZzuVY X-Received: by 10.55.135.69 with SMTP id j66mr29801024qkd.340.1512666205512; Thu, 07 Dec 2017 09:03:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512666205; cv=none; d=google.com; s=arc-20160816; b=Ao6V9/0IRW43vMNJpWZvJqbvZeU0tNYSpvtUh+kr8N6IpNYtz+POcgw6+IhiwFnOr+ QJGRyMRr2DpVbk7ZFSiHxEofg94/QSCctjwVa7HMAvDWJ5laTfVRaR7NZqgutRYGwedR BcTPtSF4VCJxLvem5BB6TU275OmDXjUoCHr4VXviDtyUodxNLdmub9MCOIrTcXdZwYB8 L2ZROxEH0A3obLhXWcGKiyO4nk4Z7rEq4fsOG7Mj4DkJaA12KH/inmmCN87CuHqrFoz7 /S3Bb5UAVVkzJNYGoHcNnA890/pEozSA9aSOAihuvaOZLYDZJ+Ym9LwNzI0VQgkzW591 EKOA== 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=Q+EaKFrIkJX8p0AELwrFk94sbou/51dboSEqKrReE3U=; b=ktz0cmYRD1jLGVuh8RgkHoC4XABAfB4x/IvLe841BN19ev+I6waHV6RvUNFohZ02lO 9ubxbAHbSvj3uUdKovsZ53obEBOXkC+2tm6vZzOlWL+MUPiKVAZMgW/ok9K7c318Htep BlZBC8cHjp4doodXxASMP5nWb5jmdC3krft0YdzyYedcDhrYTGr9sz/7rRSFSSXONJiC qLD+7L3W8Qiq0ZwXwK1bsLTFxX7R5s7v+/K2c8K/FzPGjHfP4hiAlKEXBl0ZwsOjVU76 doRZKN4LTevvU84fFp5F17JqisVTN7kkQh0ZDQufrYrIAG49jWVoVIA08nomllvy08oI aI/g== 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 i58si391185qta.381.2017.12.07.09.03.02; Thu, 07 Dec 2017 09:03:25 -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 E90596097B; Thu, 7 Dec 2017 17:03: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_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 231B36098B; Thu, 7 Dec 2017 17:00:48 +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 8DFEF60970; Thu, 7 Dec 2017 17:00:31 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 364D060953 for ; Thu, 7 Dec 2017 17:00:22 +0000 (UTC) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward103p.mail.yandex.net (Yandex) with ESMTP id AA7EE2184F56 for ; Thu, 7 Dec 2017 20:00:20 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback20j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id o5yvPx9MH1-0KPS68hQ; Thu, 07 Dec 2017 20:00:20 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id robc9Ytbsu-0JP8UrZo; Thu, 07 Dec 2017 20:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 7 Dec 2017 20:00:15 +0300 Message-Id: <1512666018-3066-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> References: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v5 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: f67aef1c433b43a2cdad08eb808b9fbcb9797b0e **/ .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..6eaeed87d 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" +#ifdef 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 Thu Dec 7 17: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: 121028 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8605043qgn; Thu, 7 Dec 2017 09:01:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMYsStLuYKpohSeH3JrxhE6Gi0A+XPoE/HPKZZWvBsQ4e1nSMIG3rumh/rJHPW5M0b5rJrph X-Received: by 10.200.54.139 with SMTP id a11mr10767835qtc.325.1512666079196; Thu, 07 Dec 2017 09:01:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512666079; cv=none; d=google.com; s=arc-20160816; b=p5ClkmrBFGb/svZBF2xvK4B1koqXVUOGIuyZxxqfX1ykKLxxsqPURJuqWun86Tvr2t Rq2Wg70tY0KS4fj8/mDiuN7d43BwDFyVX+5n5E9sVbAZ8uBsQ29AgnMEk+o4BHK/1Bd6 M47M9i+3kdZKNtGIIeGuLrjtvTEdxs3gnOdXl4d595cPwnc+Tx9YEceR4YG2bAJsHVBS CjmPurnSVWB0NIQ++mV3d+Mw+a0EcdvZgxIuPHvQ42E/3QeSiqXhxeLbBccSb9toZR0J u8w6EjbNb9bdfScXYcAFpTS2qnKStw1achAbk/Wx6uTSjN1myp58VJABRSHTHa5lkxVY D6WQ== 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=/NkqI3OcogEu05vQu/gvdedLnMIWMw2d7EJSrGxNZQE=; b=jXaFEeNmwaJEqGTFpNyCmCYnMx2AwaPt59bJvOx32c+9zA/1e4q+Nfr6BaQH+5UKId McnoUztt4sO6Hw6iFHCAT7D8vPEWhfvFx/6po2urIZahFyvQpPfItpw10SrgGpXTUcCI GQNLlasslV/hcWoUdZlMJB4NOWprm6L9KEpvpLX97GjHPChkgq3/rXczG3wFwkgkQ2q/ ZO2Kp2g3SKK5LerZ1TYurUw3FR5Eeu9Z4/QLF6X62m9+ubHEgYn1Fi5UVfoKM8B3Mmhy iKaTfvd+fFWuOWGXoOqZ3AXJB/24Op/nJZ8AK0kpYEw52k0sCEFUHTxzmcmWAS/gAJ0C EBzw== 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 e81si690434qkj.235.2017.12.07.09.01.16; Thu, 07 Dec 2017 09:01:19 -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 8F70C6098E; Thu, 7 Dec 2017 17:01:16 +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 2D20760953; Thu, 7 Dec 2017 17: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 E07D06096D; Thu, 7 Dec 2017 17:00: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 DD93B6095B for ; Thu, 7 Dec 2017 17:00:22 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 5C68440836AD for ; Thu, 7 Dec 2017 20:00:21 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IAqRrxwlhy-0L9CH2B7; Thu, 07 Dec 2017 20:00:21 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id robc9Ytbsu-0KPKlM9T; Thu, 07 Dec 2017 20:00:20 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 7 Dec 2017 20:00:16 +0300 Message-Id: <1512666018-3066-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> References: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v5 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: f67aef1c433b43a2cdad08eb808b9fbcb9797b0e **/ platform/linux-generic/test/validation/api/shmem/shmem_odp1.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c b/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c index 8cd89c8f7..d3b951ef7 100644 --- a/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c +++ b/platform/linux-generic/test/validation/api/shmem/shmem_odp1.c @@ -76,9 +76,15 @@ odp_suiteinfo_t shmem_suites[] = { ODP_SUITE_INFO_NULL, }; -int main(void) +int main(int argc, char *argv[]) { - int ret = odp_cunit_register(shmem_suites); + int ret; + + /* parse common options: */ + if (odp_cunit_parse_options(argc, argv)) + return -1; + + ret = odp_cunit_register(shmem_suites); if (ret == 0) ret = odp_cunit_run(); From patchwork Thu Dec 7 17: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: 121029 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8607064qgn; Thu, 7 Dec 2017 09:02:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMb5ZtvY3ZYVQ5m99F7wOBaSsY6HQ/4/BSnZGoHSXryNUimUeMRzV97Z8lJvM75/aqLx6Mkd X-Received: by 10.55.203.217 with SMTP id u86mr30556782qkl.98.1512666145712; Thu, 07 Dec 2017 09:02:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512666145; cv=none; d=google.com; s=arc-20160816; b=Z8niKUgxImbAHsmFP6goJbvTQ0v20QfcFpw1T0gjax4hi85Dntgdmv2RIta63Av3OE eyJIzWR9y5kuJDluFzPGpbf6hwsj/bKdyRFEh5erSAiftxR+j5AwFdVe/bk/+RovSf9w 8N3G5sQwS6zCBanIhcLz8BajjzVWhrNuYlzyjWmct4cddf7+JUXsR6iZBS/Cx8lH10CA AebO+eKGkHgkuCJoJoycM6UkGQnAAydzevpqx8dH5Ns2C2Y18Hog+2TyAioXhc9zGWO3 QrSc5KrmRuVcYNXaapN3OfKwdu59YMEYn1IuGli4kDceFUDOIqvFtHi3+2beb7HKQbjM cqFg== 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=sb7t3CYenurdTwCNNz8mIor0A9bKWjbhVPVzsIWeiKA=; b=azbiRNvdQm6O/MQpH6tFtGM3+wz5xYLDKb3mW6E9/Igo+Eis5M68rGWjVjhSWJFFMS DPj2awLPar8wXsAGSPWbjebX6rx8qAz3JUEvaVZW7XCDvd/bFCXkLWaBTlhkI4q2ZngM vxBvuh1v60CYYozk9Tmy+60ewZ9nlMRhlnVGXpxRAFooDADGHKbI+CKj3xrm4/kJ2QzA 4F9lQ6Smx1imSaKgUpnCIXs7DwCyA3SdnGSC/cOOkzO70G8vazdCDY4LWEtJq+5evtJE OtX3Damm5FhwxIavnv67jg1a38eWpDgmNDP/KVwtCAYYUDFidG+Z/ctCPtPvR3+kYCN9 EnnA== 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 i44si3864471qtf.172.2017.12.07.09.02.22; Thu, 07 Dec 2017 09:02:25 -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 6F46760977; Thu, 7 Dec 2017 17:02:22 +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 C874260982; Thu, 7 Dec 2017 17: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 AAFE760972; Thu, 7 Dec 2017 17:00:29 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 70AEA60961 for ; Thu, 7 Dec 2017 17:00:23 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 1BF815103A7C for ; Thu, 7 Dec 2017 20:00:22 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mpBfuLAxHr-0Mb4HwwY; Thu, 07 Dec 2017 20:00:22 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id robc9Ytbsu-0LP8UCeu; Thu, 07 Dec 2017 20: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: Thu, 7 Dec 2017 20:00:17 +0300 Message-Id: <1512666018-3066-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> References: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v5 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: f67aef1c433b43a2cdad08eb808b9fbcb9797b0e **/ 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 6eaeed87d..e762a38c9 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 #ifdef TEST_CUNIT_XML #include #endif From patchwork Thu Dec 7 17: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: 121031 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8608771qgn; Thu, 7 Dec 2017 09:03:27 -0800 (PST) X-Google-Smtp-Source: AGs4zMbFR4OKqIG5DF7m9Ykl3LlWs72Jo40QchSXZIzKjPk+bo05x6TuhgVVHylw2WBSQIWJyk3A X-Received: by 10.55.19.19 with SMTP id d19mr10320106qkh.189.1512666207885; Thu, 07 Dec 2017 09:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512666207; cv=none; d=google.com; s=arc-20160816; b=I+WICJxdI0amrfBryrNNZTa9m08QomeLQGZJXN/1lN0FRg7zMUPnRppaS4R0b+lOLp kPA634YRPS4YoqW3L4LO/4c2gTEEoVz/rxcultk53CFJJfKAaGHfeF2IlJk37ufDoTD2 lxI1+GWo1WhwYLp0vAPrKHYgEE0air3vX2KKElbJvibi714k8WsvzYux+Y6aiRhceEtE Od4eBXrDvQc/D2ciqjHoGOcAh9ypcdHpioRZqExiw7euj9XEzKZTxt/uuadK182jAqcJ MhmyoDWpbSIOsbvKOBtU8S+rtS3h9JiMW3gSHzZwUamgiYPOFx5WwNP9ICc+57W6IPpS 8MZw== 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=1pCRY6oPxyoFraKk2dzQTTIaoJunAFX7x8l65Mwu+l4=; b=T1BaecnhzdQ4r1CjDtfpQVrk8dY2icTxTJgpA8mKwJcWBM720yitNmyMMToV4qLWe8 4xsQbF0kWKbFhBomxQDJSJBlNrPgYqIgU0pGXZOPsVeRtN5wIPYMTTzTzU4fwgGbrwtO uZlkrXl6czeh0T9Esf0V4ZEQawyxy2+pcuSG+sLnPHigwnMu6eFmgq2jabfuW4Rm+BHX GKYtk/rHHVICvAAV4qBtkWIcWR8gR7gPcBqC9jDoIE67mlijQfszswIwdUQq3f0jF39/ FuIDEU+Y1u0QwwO49D0NuOVd/3Sxa+QLdBQJWWe7VmzAr1RcVgHYFIf9MDQ6AO9PBBoo 5yog== 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 t7si3058402qkl.186.2017.12.07.09.03.05; Thu, 07 Dec 2017 09: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 25FD060983; Thu, 7 Dec 2017 17:03:05 +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 5DAA760991; Thu, 7 Dec 2017 17:00:50 +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 3CF8460961; Thu, 7 Dec 2017 17:00:32 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 54F316094B for ; Thu, 7 Dec 2017 17:00:25 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward101j.mail.yandex.net (Yandex) with ESMTP id BB6CF12456EF for ; Thu, 7 Dec 2017 20:00:22 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id CqelnsCKbs-0MueHjK4; Thu, 07 Dec 2017 20:00:22 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id robc9Ytbsu-0MPu0krw; Thu, 07 Dec 2017 20: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: Thu, 7 Dec 2017 20:00:18 +0300 Message-Id: <1512666018-3066-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> References: <1512666018-3066-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 309 Subject: [lng-odp] [PATCH v5 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: f67aef1c433b43a2cdad08eb808b9fbcb9797b0e **/ .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