media-libs/vulkan-layers: Enable test suite

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2025-12-14 14:30:43 -05:00
parent 511766a56a
commit 03c5140fea
No known key found for this signature in database
GPG Key ID: ACEB29740C9A4E97

View File

@ -23,8 +23,7 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-ValidationLayers"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="wayland test X"
# Many segfaults as of 1.4.313.0
RESTRICT="!test? ( test ) test"
RESTRICT="!test? ( test )"
RDEPEND="~dev-util/spirv-tools-${PV}[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
@ -60,6 +59,11 @@ multilib_src_configure() {
cmake_src_configure
}
multilib_src_test() {
addwrite "/dev/dri/renderD128"
cmake_src_test
}
multilib_src_install_all() {
find "${ED}" -type f -name \*.a -delete || die
}