btrfs-progs: tests: add more configure option test coverage

Update the build test script with LZO optional build and add combination
of all existing options with the experimental build (this effectively
doubles the number of build runs).

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2025-03-24 22:26:08 +01:00
parent 9b5cc554fe
commit 05402d22fc

View File

@ -37,9 +37,14 @@ $str"
}
buildme() {
buildme_common
buildme_common --enable-experimental
}
buildme_common() {
make clean-all
./autogen.sh && CFLAGS="$CFLAGS" configure "$conf" || die "configure not working with: $@"
./autogen.sh && CFLAGS="$CFLAGS" ./configure "$conf" $1 || die "configure not working with: $@"
$make clean
$make $opts $target
check_result "$?"
@ -115,10 +120,13 @@ build_make_targets
conf='--disable-python'
build_make_targets
conf='--with-convert=ext2'
conf='--disable-zstd'
build_make_targets
conf='--enable-zstd'
conf='--disable-lzo'
build_make_targets
conf='--with-convert=ext2'
build_make_targets
conf='--with-crypto=libgcrypt'