From patchwork Tue Feb 20 13:00:13 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: 128902 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4619637ljc; Tue, 20 Feb 2018 05:07:30 -0800 (PST) X-Google-Smtp-Source: AH8x2272UBEg0YGadS1nUOsnKWbPs0NPrVhRmqa+4oBCUsTxR78cWCAM7Pv0DcdyABDPo1Ajzd4l X-Received: by 10.55.217.143 with SMTP id q15mr22822293qkl.38.1519132050223; Tue, 20 Feb 2018 05:07:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519132050; cv=none; d=google.com; s=arc-20160816; b=peUvvskxY0Rh57B3KylFJWQFB3mRt7iw9jQFVa6tLQuAaZY529HVwZIW9ofI7/Feck Tz6t64OIzSnwFS4LcJcHTiEHPIUuC0KFok6CG/MTF6gEMt1ZT8MufoaVuhcp3Hwz40FX dIEGgtACwGx2KG7YTUzP92eb842Okw9dxCkc1PBF6Rp8kySz5K+RMLDqJSSr6kLL6C9E 5QUGBJe2E7JNtkdFmKdQdOd8e8y5e01EPB4UpW8e53wfCAbAuuWaYebA4NHYodoLjHDp 7PDGjXxgpzrNaKUe3BUGz/4s415RHTPzpGxPiVp1vfSkfQ3cGS3OJuzlm5rS2WzHa7k/ JWMg== 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=LHi7F54eo/dOFsbUZhn/qO/aaZtdnf0SHGMHNXzz/Ic=; b=Fen8nIPRDhMx6qtWuh9zqK5Bq8Rh832P63VC6AWKgDknrkIJ74Mo1uQNoM6z56tJyp rescKiza0JL6t4c1Joa4HVyl1GcA43tvFbXy9oqFaOzlXjN70HqmRhBusJ8rPWsFuhSD yqKoRnwitcIkzgpWNnfLiOA1NFkzDpz/pzcNJNfdC1ebGoh9NPMRWa/HYgW/uPoxZ4mO LeKVdS/lW8azd7KfFPG4YB4yPxzajKVEWINFFGooNYXiLB4i/4DhbUiJ7YeytUbArpW7 V27caxlH2B8b7kuSQA+XgFFD+hRN76yit9c2QKcsAjWu8EWsngRmrnSr7qnxHuk1ux7w FUjQ== 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 b1si1391271qtj.421.2018.02.20.05.07.29; Tue, 20 Feb 2018 05:07:30 -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 DEE47617A6; Tue, 20 Feb 2018 13:07:29 +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 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 9B0E8617B4; Tue, 20 Feb 2018 13:02: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 6673C60B63; Tue, 20 Feb 2018 13:02: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 DFFF260C5D for ; Tue, 20 Feb 2018 13:01:21 +0000 (UTC) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward104p.mail.yandex.net (Yandex) with ESMTP id EBB28184BE7 for ; Tue, 20 Feb 2018 16:01:06 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback20j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id RNO6MK6hjy-16Oiv9It; Tue, 20 Feb 2018 16:01:06 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id INTanao9Vw-106u4jX2; Tue, 20 Feb 2018 16:01:00 +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 16:00:13 +0300 Message-Id: <1519131613-30839-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519131613-30839-1-git-send-email-odpbot@yandex.ru> References: <1519131613-30839-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 467 Subject: [lng-odp] [PATCH v1 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: e771b2cf674da116ae0cb9e7e5dca276e31fa112 **/ .shippable.yml | 12 ++++++++---- scripts/shippable-post.sh | 7 ++++++- 2 files changed, 14 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..3a8c26b13 100755 --- a/scripts/shippable-post.sh +++ b/scripts/shippable-post.sh @@ -2,8 +2,13 @@ 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`"; xsltproc --novalid cunit-to-junit.xsl "$FILE" > \ - "$SHIPPABLE_BUILD_DIR/shippable/testresults/${bname}" + "$SHIPPABLE_BUILD_DIR/shippable/testresults/${SHED}-${bname}" done