dev-util/spirv-tools: Restrict tests
authorNick Sarnie <sarnex@gentoo.org>
Mon, 23 Apr 2018 02:23:41 +0000 (22:23 -0400)
committerNick Sarnie <sarnex@gentoo.org>
Mon, 23 Apr 2018 02:36:52 +0000 (22:36 -0400)
commit024e9c947773e6e5800f126c8b8ce62dc21cf2a9
tree804bc7a39205838aea0ac0657fa45fa73430c0ac
parentb6cdc7998803cdeeb69e0b6e025b5e511ebcdc09
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
dev-util/spirv-tools/spirv-tools-2018.2-r1.ebuild
dev-util/spirv-tools/spirv-tools-9999.ebuild