summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-12-16 15:45:32 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-12-16 16:27:50 +0100
commit924e55fb340623f03fdf2ff7fbcfd78819d1db25 (patch)
tree195f10c63f7c9a95befc1fb5e05dea81a6fe8864
parentc3e89f69facbbfe131b6a6723665d48801ac943d (diff)
downloaddpdk-next-eventdev-924e55fb340623f03fdf2ff7fbcfd78819d1db25.zip
dpdk-next-eventdev-924e55fb340623f03fdf2ff7fbcfd78819d1db25.tar.gz
dpdk-next-eventdev-924e55fb340623f03fdf2ff7fbcfd78819d1db25.tar.xz
devtools: fix debug build test
When testing build with +debug options, the statistics are enabled. It was wrongly matching CONFIG_RTE_IBVERBS_LINK_STATIC. The pattern is fixed to match only statistics config options. Fixes: 2c0dd7b69fb0 ("config: add static linkage of mlx dependency") Cc: stable@dpdk.org Reported-by: Ali Alnubani <alialnu@mellanox.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
-rwxr-xr-xdevtools/test-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index be565a1..52305fb 100755
--- a/devtools/test-build.sh
+++ b/devtools/test-build.sh
@@ -149,7 +149,7 @@ config () # <directory> <target> <options>
! echo $3 | grep -q '+debug' || ( \
sed -ri="" 's,(RTE_LOG_DP_LEVEL=).*,\1RTE_LOG_DEBUG,' $1/.config
sed -ri="" 's,(_DEBUG.*=)n,\1y,' $1/.config
- sed -ri="" 's,(_STAT.*=)n,\1y,' $1/.config
+ sed -ri="" 's,(_STAT)([S_].*=|=)n,\1\2y,' $1/.config
sed -ri="" 's,(TEST_PMD_RECORD_.*=)n,\1y,' $1/.config )
# Automatic configuration