As detailed on https://github.com/calamares/calamares/wiki/Test-Guide#standalone-module-tests Building calamares creates a (very useful) binary called 'loadmodule'. I can indeed reproduce that by cloning the git repository and building. But, the gentoo package doesn't have this binary installed. Reproducible: Always
From the CMakeLists.txt: if(BUILD_TESTING) # Don't install, these are just for enable_testing add_executable(loadmodule testmain.cpp) target_link_libraries(loadmodule PRIVATE ${qtname}::Core ${qtname}::Widgets calamares calamaresui) It is being built, but per design it is not installed by 'make install'.