From: Aaron Conole <aconole@redhat.com>
To: dev@dpdk.org
Subject: [RFC 3/3] ci: enable tests on non-arm platforms
Date: Fri, 29 Mar 2019 13:22:41 -0400 [thread overview]
Message-ID: <20190329172241.11916-4-aconole@redhat.com> (raw)
In-Reply-To: <20190329172241.11916-1-aconole@redhat.com>
When building under Travis (or another linux CI service), enable running the
tests for each build.
Signed-off-by: Aaron Conole <aconole@redhat.com>
---
.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
--
2.19.1
next prev parent reply other threads:[~2019-03-29 17:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-29 17:22 [RFC 0/3] ci: enable unit tests for non-aarch64 platforms Aaron Conole
2019-03-29 17:22 ` [RFC 1/3] test/meson: auto detect number of cores Aaron Conole
2019-04-01 13:48 ` David Marchand
2019-04-01 14:07 ` Aaron Conole
2019-04-01 16:23 ` Pattan, Reshma
2019-04-01 17:48 ` Aaron Conole
2019-04-01 19:39 ` Thomas Monjalon
2019-04-01 19:58 ` Aaron Conole
2019-03-29 17:22 ` [RFC 2/3] meson-tests: separate slower tests Aaron Conole
2019-03-29 17:22 ` Aaron Conole [this message]
2019-04-17 8:32 ` [dpdk-dev] [RFC 3/3] ci: enable tests on non-arm platforms Jerin Jacob Kollanukkaran
2019-04-17 12:39 ` Aaron Conole
2019-04-17 15:32 ` [dpdk-dev] [EXT] " Jerin Jacob Kollanukkaran
2019-04-01 19:15 ` [RFC 0/3] ci: enable unit tests for non-aarch64 platforms David Marchand
2019-04-01 19:28 ` Aaron Conole
2019-04-01 19:29 ` David Marchand
2019-04-02 9:37 ` Bruce Richardson
2019-04-02 10:09 ` David Marchand
2019-04-02 12:49 ` Aaron Conole
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190329172241.11916-4-aconole@redhat.com \
--to=aconole@redhat.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.