From patchwork Tue Feb 20 17:00:27 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: 128935 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4858795ljc; Tue, 20 Feb 2018 09:09:30 -0800 (PST) X-Google-Smtp-Source: AG47ELueRxO0FSmo9gPdLl3wMXowdu2TVJo3BBWLyhezkqKqQgfcD04uxELtydpdF3vgqO6HHdKg X-Received: by 10.55.214.138 with SMTP id p10mr377555qkl.188.1519146570073; Tue, 20 Feb 2018 09:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519146570; cv=none; d=google.com; s=arc-20160816; b=qek60N5dPzuIvxFff/vwcYv2wjQBnzBr+v5qMfgtzepViEt2NYyCtHDbsy3G8B/NY1 iuYUGVcz85GUds9NWzg6KPLqo1naOh3Xsk2OAJzXMz3NuEL621O631k/xU9OMDik+4Mb 1cCzRnB1X5Hvy4ZE1D4fpaNxQaFb/aOpsMkh6TiqDJDQkbuuKjMLd6Y6/oPeQM+8kVDy l/C2NCC7o4M1/Ev/eSEMM5U5T6Dvgk4i33NGvAII0ujKrfiQUA61HWq37nocpWSzbzVH yLlWqJfZC/nvIx/txdDrVNbCGLLDsAL01gP0MKhxsb47Jt3ftVO9YPBKGlJer9SthnbY E37w== 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=P6Y+gybNOqGeD6N+SE2VoNVDM1RaKCZNkhuINJA5GJI=; b=MGvUwilopTt8ApYHZuYVzMywotxeb6ekS2aUToS+3ivClhvIl0kyNPzLJG6NL9ZsRW CCvnAH0Rayvb4Xx/WzsuVs/1UXVRsF02VWryHFn45CG+1uj5gOvqMLAljHc5QCsGyRVl +GHn8vDvaoUn+8BoYbpAQPmSFxw6N99uDFxw3ztH0pY1HIuoL4DTeUUIt2IWewTwX7tC /9dcoDQrKWzyrSvbYOYv8rUoETEzzkctmqOSIMSb5qG0Im4Xn0vzH24aVNMCIhy3iRQM Mj1FsQZ62FlB/mim0RRIpRlx/Adgxzs+ZGU2TeUQZ9ORTgrn9zx4EQJk2Ui+PKUlsrB/ Oz4Q== 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 p5si4903908qkf.339.2018.02.20.09.09.28; Tue, 20 Feb 2018 09:09: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 C0F5061520; Tue, 20 Feb 2018 17:09:28 +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 7EEEB614E3; Tue, 20 Feb 2018 17:03:24 +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 2AB7760C48; Tue, 20 Feb 2018 17:03:13 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id DDB616095E for ; Tue, 20 Feb 2018 17:00:34 +0000 (UTC) Received: from mxback5g.mail.yandex.net (mxback5g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:166]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 562E6124276F for ; Tue, 20 Feb 2018 20:00:33 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback5g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id CjMElPH4XJ-0XQWBEfD; Tue, 20 Feb 2018 20:00:33 +0300 Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id d7rw0280Nt-0WTeLVu3; Tue, 20 Feb 2018 20:00:32 +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 20:00:27 +0300 Message-Id: <1519146027-3446-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519146027-3446-1-git-send-email-odpbot@yandex.ru> References: <1519146027-3446-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 467 Subject: [lng-odp] [PATCH v4 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: 911ad4bd1709c0e28617d1e82038172c21039039 **/ .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..9d59da3f8 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 ${SCHED}-${bname} xsltproc --novalid cunit-to-junit.xsl "$FILE" > \ - "$SHIPPABLE_BUILD_DIR/shippable/testresults/${bname}" + "$SHIPPABLE_BUILD_DIR/shippable/testresults/${SCHED}-${bname}" done