Forgot to say, but: The Catch2 used in Luanti is customized slightly and is intended to be built with CATCH_CONFIG_NOSTDOUT. It builds and works fine without those two, but a proper packaging may have to do it slightly differently.