From patchwork Tue Feb 20 16:00:19 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: 128920 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4795553ljc; Tue, 20 Feb 2018 08:06:05 -0800 (PST) X-Google-Smtp-Source: AH8x2256ZLp+1PvGR64+y5QOu9bYO+zHF2BT04mEJGjEtpizNURww316C+RQd2JREPDoFd70KU8T X-Received: by 10.55.2.140 with SMTP id v12mr139218qkg.251.1519142765332; Tue, 20 Feb 2018 08:06:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519142765; cv=none; d=google.com; s=arc-20160816; b=ByV+0si58yqHbeQQtScaUCJyEPjE8UJBTdh11Y41oPkEBJhxJ9zK0cwLVcqV8m75/r 3Ee5AQRwjldCeEglqLARwCudOIHPZ6GTWYUG3Rjl4eO/H0U3q53nLYsFNoMH74l59RYn 1eQ8gFNYkjZRdCkjjUMq2YdYW65foVmVIwi/slA7v0oiuhfQbOwpXToKFeYSeVdLkJwh yrLPhH+LoKenOELnmS3zK3NOSQqC6d37LTIPOysCuZjP8nTHgvOIl+skPc+WqrSkCRdT mjhwiF7Sn4qLy4KcrLT0VG2fHX41N4WHSmMrmX/r8ejzIAiMo3lMzkRzmzAM8CvKU6rT 0Uig== 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=l50beqg1gMdiwZLQDqmGeW0sY2qKRdBUWPyvdYpIPb4=; b=ZZkPjVYcOUa7ED4kf0Zu5DNwrt7mrzZqyzR978YhtuZGn+pK5Xzk4muEuOHiMeAd8q fW/7WGTghEq3c5ug2cx83SRj+kyzlrF+O/8A1Y0X4s4HMhmkIfQCL8n7DfMIaC98H6mS XXrtm9JdDU/qjYji9Aq4Uy68WSrDhDaWBPQFcpOpt/uxstvB2gcPbgrbO5Q9z+CIp7uM KcH+4wCAq1VP9WAzzvVCtOPAu8cZNyW0P19agbUIRUkE4Ak80UEgx/oYzRKGJOCwHJdR 6vJEFzs4l2SFRkE1Ze61Dp/JlBdUwLkvOheIw+IzP3bfpgq+SqBEYfGSIfW4n/fk9fEE OfiQ== 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 t13si2163144qte.397.2018.02.20.08.06.04; Tue, 20 Feb 2018 08:06:05 -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 8856A6085D; Tue, 20 Feb 2018 16:06: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, 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 8E1D4616F3; Tue, 20 Feb 2018 16:00:58 +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 C7EED60670; Tue, 20 Feb 2018 16:00:33 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id E5B0A616EA for ; Tue, 20 Feb 2018 16:00:25 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 3B8A02A23C02 for ; Tue, 20 Feb 2018 19:00:24 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Q6jowZNIyg-0OsGNqtL; Tue, 20 Feb 2018 19:00:24 +0300 Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 1BLM25rTar-0NTqVtGk; Tue, 20 Feb 2018 19: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 19:00:19 +0300 Message-Id: <1519142419-2141-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519142419-2141-1-git-send-email-odpbot@yandex.ru> References: <1519142419-2141-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 467 Subject: [lng-odp] [PATCH v3 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: e203ffe9c0a48b78cb0d0f4aadbb16bb1f840b3c **/ .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