From patchwork Fri Mar 29 17:22:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Conole X-Patchwork-Id: 51932 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DFB8A4CC5; Fri, 29 Mar 2019 18:22:56 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 184F01B05 for ; Fri, 29 Mar 2019 18:22:46 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 805AF81252 for ; Fri, 29 Mar 2019 17:22:45 +0000 (UTC) Received: from dhcp-25.97.bos.redhat.com (ovpn-121-152.rdu2.redhat.com [10.10.121.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3D64660BFB for ; Fri, 29 Mar 2019 17:22:45 +0000 (UTC) From: Aaron Conole To: dev@dpdk.org Date: Fri, 29 Mar 2019 13:22:41 -0400 Message-Id: <20190329172241.11916-4-aconole@redhat.com> In-Reply-To: <20190329172241.11916-1-aconole@redhat.com> References: <20190329172241.11916-1-aconole@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 29 Mar 2019 17:22:45 +0000 (UTC) Subject: [dpdk-dev] [RFC 3/3] ci: enable tests on non-arm platforms X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When building under Travis (or another linux CI service), enable running the tests for each build. Signed-off-by: Aaron Conole --- .ci/linux-build.sh | 7 +++++++ .ci/linux-setup.sh | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index 4eb7c3cf0..72510a433 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -22,3 +22,10 @@ fi OPTS="$OPTS --default-library=$DEF_LIB" meson build --werror -Dexamples=all $OPTS ninja -C build + +if [ "$AARCH64" != "1" ]; then + sudo meson test -C build --suite fast-tests + sudo meson test -C build --suite perf-tests + sudo meson test -C build --suite driver-tests + sudo meson test -C build --suite debug-tests +fi diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh index acdf9f370..18d2b22fc 100755 --- a/.ci/linux-setup.sh +++ b/.ci/linux-setup.sh @@ -1,3 +1,7 @@ #!/bin/sh -python3 -m pip install --upgrade meson --user +sudo python3 -m pip install --upgrade meson + +cat /proc/meminfo +sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' +cat /proc/meminfo