Hi, I will probably have a ton of comments about adding a new compilation tests, and I think it is a bit late for such an addition. However, all the fixes should go in 19.05.
26/04/2019 18:50, Bruce Richardson: > The pkg-config file generated as part of the build of DPDK should allow > applications to be built with an installed DPDK. We can test this as > part of the build by doing an install of DPDK to a temporary directory > within the build folder, and by then compiling up a few sample apps > using make working off that directory. > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > Acked-by: Luca Boccassi <bl...@debian.org> > --- > --- a/devtools/test-meson-builds.sh > +++ b/devtools/test-meson-builds.sh > +############## > +# Test installation of the x86-default target, to be used for checking > +# the sample apps build using the pkg-config file for cflags and libs > +############### I would prefer simpler comment formatting. It makes this test very special. > +build_path=build-x86-default > +DESTDIR=`pwd`/$build_path/install-root ; export DESTDIR export DESTDIR=... is not supported everywhere? I prefer new shell substitution syntax $() instead of backquotes. > +$ninja_cmd -C $build_path install > + > +pc_file=$(find $DESTDIR -name libdpdk.pc) > +PKG_CONFIG_PATH=$(dirname $pc_file) ; export PKG_CONFIG_PATH > + > +# rather than hacking our environment, just edit the .pc file prefix value > +sed -i -e "s|prefix=|prefix=$DESTDIR|" $pc_file What is the alternative? Cannot we configure meson with the right prefix? > +for example in helloworld l2fwd l3fwd skeleton timer; do > + echo "## Building $example" > + $MAKE -C $DESTDIR/usr/local/share/dpdk/examples/$example > +done > + > +echo "" > +echo "## $0: Completed OK" This last log is uncommon.