Fix `gaudi_add_compile_test` such that it also allows to add tests that require a successful compilation.