See `msys2/PKGBUILD.in` in the project tree, section `check`
See
msys2/PKGBUILD.inin the project tree, sectioncheck