* [dpdk-dev] [PATCH] ci: add minimal check on testpmd
@ 2019-11-22 15:54 David Marchand
2019-11-22 16:29 ` Thomas Monjalon
0 siblings, 1 reply; 5+ messages in thread
From: David Marchand @ 2019-11-22 15:54 UTC (permalink / raw)
To: dev; +Cc: thomas, Aaron Conole, Michael Santana
Try to start testpmd with two vdevs without hugepages.
This is a really basic check, but better than nothing.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
.ci/linux-build.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index c570ba24e6..e37176e91c 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -32,6 +32,10 @@ OPTS="$OPTS --default-library=$DEF_LIB"
meson build --werror -Dexamples=all $OPTS
ninja -C build
+if [ "$AARCH64" != "1" ]; then
+ ./devtools/test-null.sh
+fi
+
if [ "$RUN_TESTS" = "1" ]; then
sudo meson test -C build --suite fast-tests -t 3
fi
--
2.23.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: add minimal check on testpmd
2019-11-22 15:54 [dpdk-dev] [PATCH] ci: add minimal check on testpmd David Marchand
@ 2019-11-22 16:29 ` Thomas Monjalon
2019-11-24 14:17 ` David Marchand
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2019-11-22 16:29 UTC (permalink / raw)
To: David Marchand; +Cc: dev, Aaron Conole, Michael Santana
22/11/2019 16:54, David Marchand:
> --- a/.ci/linux-build.sh
> +++ b/.ci/linux-build.sh
> +if [ "$AARCH64" != "1" ]; then
> + ./devtools/test-null.sh
You are missing the build directory as first parameter,
otherwise it won't find testpmd.
One nit: ./ is probably useless.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: add minimal check on testpmd
2019-11-22 16:29 ` Thomas Monjalon
@ 2019-11-24 14:17 ` David Marchand
2019-11-24 18:12 ` Thomas Monjalon
0 siblings, 1 reply; 5+ messages in thread
From: David Marchand @ 2019-11-24 14:17 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev, Aaron Conole, Michael Santana
On Fri, Nov 22, 2019 at 5:29 PM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> 22/11/2019 16:54, David Marchand:
> > --- a/.ci/linux-build.sh
> > +++ b/.ci/linux-build.sh
> > +if [ "$AARCH64" != "1" ]; then
> > + ./devtools/test-null.sh
>
> You are missing the build directory as first parameter,
> otherwise it won't find testpmd.
This parameter is optional.
In test-null.sh:
build=${1:-build} # first argument can be the build directory
travis builds in this directory.
I suppose you noticed that the jobs in travis were all failing, but
this is because the fix [1] on testpmd is not in master yet.
1: https://patchwork.dpdk.org/patch/63226/
>
> One nit: ./ is probably useless.
No strong opinion.
--
David Marchand
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: add minimal check on testpmd
2019-11-24 14:17 ` David Marchand
@ 2019-11-24 18:12 ` Thomas Monjalon
2019-11-26 22:41 ` Thomas Monjalon
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2019-11-24 18:12 UTC (permalink / raw)
To: David Marchand; +Cc: dev, Aaron Conole, Michael Santana
24/11/2019 15:17, David Marchand:
> On Fri, Nov 22, 2019 at 5:29 PM Thomas Monjalon <thomas@monjalon.net> wrote:
> >
> > 22/11/2019 16:54, David Marchand:
> > > --- a/.ci/linux-build.sh
> > > +++ b/.ci/linux-build.sh
> > > +if [ "$AARCH64" != "1" ]; then
> > > + ./devtools/test-null.sh
> >
> > You are missing the build directory as first parameter,
> > otherwise it won't find testpmd.
>
> This parameter is optional.
> In test-null.sh:
> build=${1:-build} # first argument can be the build directory
>
> travis builds in this directory.
Oh right.
It's funny, because I wrote it and forgot :)
> I suppose you noticed that the jobs in travis were all failing, but
> this is because the fix [1] on testpmd is not in master yet.
> 1: https://patchwork.dpdk.org/patch/63226/
I will pull next-net soon.
> > One nit: ./ is probably useless.
>
> No strong opinion.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: add minimal check on testpmd
2019-11-24 18:12 ` Thomas Monjalon
@ 2019-11-26 22:41 ` Thomas Monjalon
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2019-11-26 22:41 UTC (permalink / raw)
To: David Marchand; +Cc: dev, Aaron Conole, Michael Santana
24/11/2019 19:12, Thomas Monjalon:
> 24/11/2019 15:17, David Marchand:
> > On Fri, Nov 22, 2019 at 5:29 PM Thomas Monjalon <thomas@monjalon.net> wrote:
> > >
> > > 22/11/2019 16:54, David Marchand:
> > > > --- a/.ci/linux-build.sh
> > > > +++ b/.ci/linux-build.sh
> > > > +if [ "$AARCH64" != "1" ]; then
> > > > + ./devtools/test-null.sh
> > >
> > > You are missing the build directory as first parameter,
> > > otherwise it won't find testpmd.
> >
> > This parameter is optional.
> > In test-null.sh:
> > build=${1:-build} # first argument can be the build directory
> >
> > travis builds in this directory.
>
> Oh right.
> It's funny, because I wrote it and forgot :)
>
> > I suppose you noticed that the jobs in travis were all failing, but
> > this is because the fix [1] on testpmd is not in master yet.
> > 1: https://patchwork.dpdk.org/patch/63226/
>
> I will pull next-net soon.
>
> > > One nit: ./ is probably useless.
> >
> > No strong opinion.
Applied (without ./), thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-11-26 22:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-22 15:54 [dpdk-dev] [PATCH] ci: add minimal check on testpmd David Marchand
2019-11-22 16:29 ` Thomas Monjalon
2019-11-24 14:17 ` David Marchand
2019-11-24 18:12 ` Thomas Monjalon
2019-11-26 22:41 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).