[libvirt PATCH v2 08/35] ci: build.sh: Add a wrapper function over the 'test' job