Summary: | dev-util/spirv-tools-2018.2 : [TEST] 2 - spirv-tools-symbol-exports-SPIRV-Tools (Failed) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sarnex |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-util:spirv-tools-2018.2:20180326-142447.log emerge-history.txt environment etc.portage.tbz2 LastTest.log logs.tbz2 temp.tbz2 tests.tbz2 |
Description
Toralf Förster
2018-03-26 17:52:47 UTC
Created attachment 525536 [details]
emerge-info.txt
Created attachment 525538 [details]
dev-util:spirv-tools-2018.2:20180326-142447.log
Created attachment 525540 [details]
emerge-history.txt
Created attachment 525542 [details]
environment
Created attachment 525544 [details]
etc.portage.tbz2
Created attachment 525546 [details]
LastTest.log
Created attachment 525548 [details]
logs.tbz2
Created attachment 525550 [details]
temp.tbz2
Created attachment 525552 [details]
tests.tbz2
Upstream depends on Python 2.7 for the tests. Running them with 3.5/3.6 causes this failure. I am going to fix the ebuild to require 2.7 for tests. PR to come. Sarnex Seems more complicated than that. The test checks that the symbols in the generated static libraries match some regular expression, and they may not depending on the compiler flags. More to come. Sarnex The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=024e9c947773e6e5800f126c8b8ce62dc21cf2a9 commit 024e9c947773e6e5800f126c8b8ce62dc21cf2a9 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2018-04-23 02:23:41 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2018-04-23 02:36:52 +0000 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 | 3 +++ dev-util/spirv-tools/spirv-tools-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) |