There's a merged pull request on the void-packages repository [RFC]: xbps-src: add make_check_pre https://github.com/void-linux/void-packages/pull/35888 Description: $make_check_pre can be used for wrapper commands like xvfb-run or dbus-run-session which are common ways to make tests work. This way many templates can avoid defining their own do_check function.