diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2018-04-22 22:23:41 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2018-04-22 22:36:52 -0400 |
commit | 024e9c947773e6e5800f126c8b8ce62dc21cf2a9 (patch) | |
tree | 804bc7a39205838aea0ac0657fa45fa73430c0ac /dev-util/spirv-tools | |
parent | dev-python/kiwisolver: amd64 stable wrt bug #649100 (diff) | |
download | gentoo-024e9c947773e6e5800f126c8b8ce62dc21cf2a9.tar.gz gentoo-024e9c947773e6e5800f126c8b8ce62dc21cf2a9.tar.bz2 gentoo-024e9c947773e6e5800f126c8b8ce62dc21cf2a9.zip |
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
Diffstat (limited to 'dev-util/spirv-tools')
-rw-r--r-- | dev-util/spirv-tools/spirv-tools-2018.2-r1.ebuild | 3 | ||||
-rw-r--r-- | dev-util/spirv-tools/spirv-tools-9999.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
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" |