From patchwork Tue Feb 20 15:00:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128912 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4736338ljc; Tue, 20 Feb 2018 07:06:23 -0800 (PST) X-Google-Smtp-Source: AH8x226JO3hy+8GjXVOAVxIb5M5vP0bgR02tJ2Q9es31XMCanXgTr291hHBBF+8QWM+99q+QOEiI X-Received: by 10.55.39.208 with SMTP id n199mr26671081qkn.138.1519139183156; Tue, 20 Feb 2018 07:06:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139183; cv=none; d=google.com; s=arc-20160816; b=LB4NF8JnRQia4UY+PqIRmqsJr4F3bua5Y1+hfSSk2D0+CENb3ohdYDxsLwGZ8SgVmh z8VCsTncbm7mtYsyvJjIR1bkUxwdqJVVONgIvaoXmvXwrmU/v3jfhfEu0SJwISk6nxyu NEzag4oUemxqI4vlAa1jUZzXkMDjfJ1iPinQi0fJhUQ2stUoGla95SAES89/R52HLtFx 9r+s5S4EX3/I72izGBD9SpHXkDVdlNJqSFhA/KzJAVhtEU9FMT2trqC3l1Ou+hvUCcR9 3Nt6NEbBc71PcicHi0iWpbi8n6DT9FZNTMQ8/Fh+MRHJ8O+9vgIE+gEKl0Wc3B/h8XoS /1aA== 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=5CIPC72X3ErSertn9zu71Du0BvYHwixW/nobcB3kA7c=; b=bfCcusLzDhftblK0pauEwEYFvFi/h0TmQi3jQooXb55mB/h2RFot4TjGZpbjzy+QAe kkgoVj2FVCRjUGRCrlAhOD5hD0xMUFmXcn9I9c1oxqhnES5GmALW5+inDlRO7cmjKwk+ IAJJTPPV4etL8zbTmD3ytmrt75seeZG5FR1OVBVFyZW50YUHk0BKNdsmsLeURmUqYkM0 K5a9lUrg2t7iUZkl+x8/i0/AiGl8VRO/obwMLX9hHPRlJgBoZ7aaocp1UUWFs5aoksAt 3KFqh/WqhAikmxqR47ywXwb4ITsbrDjgYD0qLQ7rZLYfSvKh8N4rjBFTJt9/XMB4CNvZ P3Tg== 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 b26si263290qtb.393.2018.02.20.07.06.22; Tue, 20 Feb 2018 07:06:23 -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 BF2A1608F9; Tue, 20 Feb 2018 15:06: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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3A92D617AF; Tue, 20 Feb 2018 15:01:11 +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 406D3607B9; Tue, 20 Feb 2018 15:00:38 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 0509C6063E for ; Tue, 20 Feb 2018 15:00:27 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 651572182D98 for ; Tue, 20 Feb 2018 18:00:24 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NoPCz4rJhG-0ODCFpc0; Tue, 20 Feb 2018 18:00:24 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 7uC8N0Zg8Y-0Nw49fIv; Tue, 20 Feb 2018 18: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: Tue, 20 Feb 2018 18:00:17 +0300 Message-Id: <1519138817-822-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519138817-822-1-git-send-email-odpbot@yandex.ru> References: <1519138817-822-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 467 Subject: [lng-odp] [PATCH v2 7/7] shippable: run tests with all possible schedulers 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: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) ** https://github.com/Linaro/odp/pull/467 ** Patch: https://github.com/Linaro/odp/pull/467.patch ** Base sha: d5419e8857b2bc61d3be17fe53f171550fee426b ** Merge commit sha: d7c90978f25a7415a6bd43474e213e1bf63b2531 **/ .shippable.yml | 12 ++++++++---- scripts/shippable-post.sh | 8 +++++++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.shippable.yml b/.shippable.yml index 6b2a73c3f..c01e3608e 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -41,10 +41,14 @@ build: - if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi - ./configure $CONF - make -j $(nproc) - - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check -k - - on_success: - - ./scripts/shippable-post.sh + - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=basic make check + - ./scripts/shippable-post.sh basic + - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=sp make check + - ./scripts/shippable-post.sh sp + - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=iquery make check + - ./scripts/shippable-post.sh iquery + - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=scalable make check + - ./scripts/shippable-post.sh scalable on_failure: - ./scripts/shippable-post.sh diff --git a/scripts/shippable-post.sh b/scripts/shippable-post.sh index ed5a44168..1fc3563f4 100755 --- a/scripts/shippable-post.sh +++ b/scripts/shippable-post.sh @@ -2,8 +2,14 @@ wget https://raw.githubusercontent.com/shawnliang/cunit-to-junit/master/cunit-to-junit.xsl +mkdir -p "$SHIPPABLE_BUILD_DIR/shippable/testresults" + +SCHED=${1:-default} +echo $SCHED + for FILE in `find ./test ./platform/ -name "*.xml"`; do bname="`basename $FILE`"; + echo Processing $FILE as ${SHED}-${bname} xsltproc --novalid cunit-to-junit.xsl "$FILE" > \ - "$SHIPPABLE_BUILD_DIR/shippable/testresults/${bname}" + "$SHIPPABLE_BUILD_DIR/shippable/testresults/${SHED}-${bname}" done