ci: add minimal check on testpmd
PATCH 1/1 ci: add minimal check on testpmd
Try to start testpmd with two vdevs without hugepages. This is a really basic check, but better than nothing.
--- .ci/linux-build.sh | 4 ++++ 1 file changed, 4 insertions(+)
.ci/linux-build.sh +4 -0
@@ -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
Signature · 1 line
2.23.0
22/11/2019 16:54, David Marchand:
.ci/linux-build.sh OPTS="$OPTS --default-library=$DEF_LIB" · line 36
Quoted 4 lines
.ci/linux-build.sh +2
-0+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.
Quoted 9 lines · Thomas Monjalon
22/11/2019 16:54, David Marchand:
.ci/linux-build.sh OPTS="$OPTS --default-library=$DEF_LIB" · line 36
Quoted 4 lines
.ci/linux-build.sh +2
-0+if [ "$AARCH64" != "1" ]; then + ./devtools/test-null.shYou 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/
Quoted 2 lines
One nit: ./ is probably useless.
No strong opinion.
Signature · 1 line
David Marchand
24/11/2019 15:17, David Marchand:
Quoted 11 lines · Thomas Monjalon
Quoted 9 lines
22/11/2019 16:54, David Marchand:
.ci/linux-build.sh OPTS="$OPTS --default-library=$DEF_LIB" · line 36
Quoted 4 lines
.ci/linux-build.sh +2
-0+if [ "$AARCH64" != "1" ]; then + ./devtools/test-null.shYou are missing the build directory as first parameter, otherwise it won't find testpmd.
Quoted 5 lines
This parameter is optional.
Intest-null.sh:
build=${1:-build} # first argument can be the build directorytravis builds in this directory.
Oh right.
It's funny, because I wrote it and forgot :)
Quoted 3 lines
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.
Quoted 3 lines
Quoted 1 line
One nit: ./ is probably useless.
No strong opinion.
24/11/2019 19:12, Thomas Monjalon:
Quoted 18 lines
24/11/2019 15:17, David Marchand:
Quoted 11 lines · Thomas Monjalon
Quoted 9 lines
22/11/2019 16:54, David Marchand:
.ci/linux-build.sh OPTS="$OPTS --default-library=$DEF_LIB" · line 36
Quoted 4 lines
.ci/linux-build.sh +2
-0+if [ "$AARCH64" != "1" ]; then + ./devtools/test-null.shYou are missing the build directory as first parameter, otherwise it won't find testpmd.
Quoted 5 lines
This parameter is optional.
Intest-null.sh:
build=${1:-build} # first argument can be the build directorytravis builds in this directory.
Quoted 12 lines
Oh right.
It's funny, because I wrote it and forgot :)Quoted 3 lines
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.
Quoted 3 lines
Quoted 1 line
One nit: ./ is probably useless.
No strong opinion.
Applied (without ./), thanks