From patchwork Tue Feb 27 20:00:41 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: 129867 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp229436lja; Tue, 27 Feb 2018 12:22:57 -0800 (PST) X-Google-Smtp-Source: AG47ELvAkRokWAD6RGFRvSJ1iaMArqIJ4dN3f0nmFpxFnuHFZbBq9wrsDHKRtINIL8BHCAZGB+JO X-Received: by 10.55.148.69 with SMTP id w66mr24134108qkd.179.1519762976968; Tue, 27 Feb 2018 12:22:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519762976; cv=none; d=google.com; s=arc-20160816; b=N9P2/hp6a2XCOEX7gONuWqtsJHxVPMSyaQh5+hbKPD5WahTfHNom8X0Si1a0SCY8d8 HsbMXDP9CTTH0+SdCyjnWYg64AInoATjMsy3jVeoiZvN7ltxYVXrHhayAoh7J/8UV+Ny B2IO9ZQ0ie/FYlmoHHf+MoHBrqjED2agY+SCkd4C69BKsYwIYJonmXyHrG5/AJOYNgii rGkLySbjC24FEDJwOmycZwwXJTd39FrLaIEC9mdrsFIwlm76XLobVaCyEQMmZanP0ftF XA3xuy2x4iCRKCbX4DGmLuyDhf4B4XzZ0ndCD+ptZmRsXxzSK30ASVFuxC9lfL41QBPr 5YQg== 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=AbjWSwI9+mYxUPAo4Tatbk8ivOS1FRYRIO+JoY+Cgm4=; b=Q0rT4wWZX7Mw1rP2d1L1KV7usvsT9WmC6lqTOM3XiUcBzXIFiKSWL684UW5akdd9GH J+CuAQsZ5B6zC/X9jhRWVbO0csB60a/n3t16+GSxQ7DR2VKYGdsGWKmOsqRg735VQuEP gswCRs7r2SGrRgrXlkGjastf8msWI1dA0HHUkrCBvmxySVqffkfjUJem22Jt2arr/jyx j/oVtF9o+EEj6YADOdxQr6soKALVXGWIJpnseP0REXJ8BH6s6zaAPMNQsrSLQAkZAU3Z 6jgGs9OtT3KdNUhbwd+KthrpM+lG3GJrvrh9nqtUzDE68gTbKgphUt4gdEg0ufZt3kpn dcTg== 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 d205si11313056qkg.484.2018.02.27.12.22.56; Tue, 27 Feb 2018 12:22:56 -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 8E16E6171C; Tue, 27 Feb 2018 20:22:56 +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 CFE1D61768; Tue, 27 Feb 2018 20:03:38 +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 CEDA8617FD; Tue, 27 Feb 2018 20:03:33 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 3A73961767 for ; Tue, 27 Feb 2018 20:00:47 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 34FD7444505E for ; Tue, 27 Feb 2018 23:00:46 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id a1jyNBAAHM-0k4mextE; Tue, 27 Feb 2018 23:00:46 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zvM1YyQEKf-0jaG56Jq; Tue, 27 Feb 2018 23:00:45 +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, 27 Feb 2018 23:00:41 +0300 Message-Id: <1519761641-21081-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519761641-21081-1-git-send-email-odpbot@yandex.ru> References: <1519761641-21081-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 467 Subject: [lng-odp] [PATCH v6 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: 3984ba4cd16a02e3fa98ccd432a06663de3fa993 ** Merge commit sha: 62438643661dee1350bce73f90120c824538df8b **/ .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