Skip to content

Commit 05402d2

Browse files
committed
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 <[email protected]>
1 parent 9b5cc55 commit 05402d2

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

tests/build-tests.sh

+11-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,14 @@ $str"
3737
}
3838

3939
buildme() {
40+
buildme_common
41+
buildme_common --enable-experimental
42+
}
43+
44+
buildme_common() {
4045
make clean-all
4146

42-
./autogen.sh && CFLAGS="$CFLAGS" configure "$conf" || die "configure not working with: $@"
47+
./autogen.sh && CFLAGS="$CFLAGS" ./configure "$conf" $1 || die "configure not working with: $@"
4348
$make clean
4449
$make $opts $target
4550
check_result "$?"
@@ -115,10 +120,13 @@ build_make_targets
115120
conf='--disable-python'
116121
build_make_targets
117122

118-
conf='--with-convert=ext2'
123+
conf='--disable-zstd'
119124
build_make_targets
120125

121-
conf='--enable-zstd'
126+
conf='--disable-lzo'
127+
build_make_targets
128+
129+
conf='--with-convert=ext2'
122130
build_make_targets
123131

124132
conf='--with-crypto=libgcrypt'

0 commit comments

Comments
 (0)