There is an updated pull request by paper42 against master on the void-packages repository https://github.com/paper42/void-packages make_check_pre https://github.com/void-linux/void-packages/pull/35888 [RFC]: xbps-src: add make_check_pre $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. A patch file from https://github.com/void-linux/void-packages/pull/35888.patch is attached