From: Nick Sarnie Date: Mon, 23 Apr 2018 02:23:41 +0000 (-0400) Subject: dev-util/spirv-tools: Restrict tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=024e9c947773e6e5800f126c8b8ce62dc21cf2a9;p=gentoo.git dev-util/spirv-tools: Restrict tests The tests go through all symbols in the generated libraries/executables, and check the symbol names against a hardcoded regular expression. If an unmatching symbol is found, the test fails. This is easily hit if a user sets a compiler flag that causes symbols to change, such as PIC Fixes: https://bugs.gentoo.org/651626 Package-Manager: Portage-2.3.31, Repoman-2.3.9 --- diff --git a/dev-util/spirv-tools/spirv-tools-2018.2-r1.ebuild b/dev-util/spirv-tools/spirv-tools-2018.2-r1.ebuild index fa84f40f6b7e..f1227eb734c8 100644 --- a/dev-util/spirv-tools/spirv-tools-2018.2-r1.ebuild +++ b/dev-util/spirv-tools/spirv-tools-2018.2-r1.ebuild @@ -12,6 +12,9 @@ SRC_URI="https://github.com/KhronosGroup/SPIRV-Tools/archive/v${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" +# Tests fail upon finding symbols that do not match a regular expression +# in the generated library. Easily hit with non-standard compiler flags +RESTRICT="test" RDEPEND="" DEPEND="dev-util/spirv-headers" diff --git a/dev-util/spirv-tools/spirv-tools-9999.ebuild b/dev-util/spirv-tools/spirv-tools-9999.ebuild index e0e2f53d0e21..9cd364683405 100644 --- a/dev-util/spirv-tools/spirv-tools-9999.ebuild +++ b/dev-util/spirv-tools/spirv-tools-9999.ebuild @@ -12,6 +12,9 @@ SRC_URI="" LICENSE="Apache-2.0" SLOT="0" +# Tests fail upon finding symbols that do not match a regular expression +# in the generated library. Easily hit with non-standard compiler flags +RESTRICT="test" RDEPEND="" DEPEND="dev-util/spirv-headers"