We can have "BUILDBOT_BUILD_BINARIES", it is possible. But above I suggested to check the version comment. Like in
SELECT @@version_comment = 'mariadb.org binary distribution';
|
This will match for packages that we build in buildbot. And this will match for someone, who has download our package and runs the test suite (which is correct, because our packages, even if downloaded, should have the same set of features). And this will not match in buildbot for builders that don't build packages (which is also correct, as they don't have to have the "release" configuration with all features). So, this is probably better than BUILDBOT_BUILD_BINARIES.
But anyway, back to your second comment. As you're saying that we should not build with lz4 and lzo now, we don't need to run a separate set of tests in buildbot just now. So for now, current innodb_compression_algorithm_basic.test is good, it only checks for zlib and none values.
And while the original bug stays — innodb_compression_algorithm configuration variable can still be set to unsupported value — all related issues (how to build release packages, extra dependencies, how to fix the test for buildbot), all these related issues seem to be solved
Thanks!
Few considerations: