Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832058 - dev-java/xmlgraphics-commons-2.8: has conditional test excludes
Summary: dev-java/xmlgraphics-commons-2.8: has conditional test excludes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: Java-test-failures
  Show dependency tree
 
Reported: 2022-01-25 17:31 UTC by Volkmar W. Pogatzki
Modified: 2023-12-01 09:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (xmlgraphics-commons-2.7-build.log,22.50 KB, text/plain)
2022-04-06 12:07 UTC, Volkmar W. Pogatzki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar W. Pogatzki 2022-01-25 17:31:41 UTC
dev-java/xmlgraphics-commons-2.7 restricts tests - needs newer version of dev-java/mockito
Comment 1 Volkmar W. Pogatzki 2022-04-06 12:07:20 UTC
Created attachment 769018 [details]
build log

With mockito-4.4.0:4 I am getting NPEs
Comment 2 Larry the Git Cow gentoo-dev 2022-04-27 08:57:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03832c00aee6e88e047b884c3749e2385b650f6

commit d03832c00aee6e88e047b884c3749e2385b650f6
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-04-06 11:34:45 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-04-27 08:57:14 +0000

    dev-java/xmlgraphics-commons: enable tests
    
    Bug: https://bugs.gentoo.org/832058
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/24989
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-java/xmlgraphics-commons/metadata.xml          | 11 ++--
 .../xmlgraphics-commons-2.7-r1.ebuild              | 70 ++++++++++++++++++++++
 2 files changed, 77 insertions(+), 4 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-06-17 13:50:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12843b6596cc151d3e2ba67e9c73a95d8fbb4ee

commit e12843b6596cc151d3e2ba67e9c73a95d8fbb4ee
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-06-17 11:37:44 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-06-17 13:50:13 +0000

    dev-java/xmlgraphics-commons: drop 2.7
    
    Closes: https://bugs.gentoo.org/832058
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../xmlgraphics-commons-2.7.ebuild                 | 66 ----------------------
 1 file changed, 66 deletions(-)
Comment 4 Volkmar W. Pogatzki 2022-07-04 16:43:22 UTC
# There are test failures, bug #832058
JAVA_TEST_EXCLUDES=(
	"org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoderTestCase"
	"org.apache.xmlgraphics.image.loader.impl.ImageLoaderImageIOTestCase"
	"org.apache.xmlgraphics.io.XmlSourceUtilTestCase"
	"org.apache.xmlgraphics.ps.dsc.ListenerTestCase"
	"org.apache.xmlgraphics.xmp.XMPParserTestCase"
Comment 5 Volkmar W. Pogatzki 2023-01-27 21:13:10 UTC
src_test() {
	local vm_version="$(java-config -g PROVIDES_VERSION)"
	if ver_test "${vm_version}" -ge 11; then
		JAVA_TEST_EXCLUDES="org.apache.xmlgraphics.image.loader.CorruptImagesTestCase"
	fi
	java-pkg-simple_src_test
}
Comment 6 Larry the Git Cow gentoo-dev 2023-09-20 07:30:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f29219767946adf654295a7d292b7c57e6e7c16

commit 7f29219767946adf654295a7d292b7c57e6e7c16
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2023-09-06 13:12:49 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-09-20 07:30:26 +0000

    dev-java/xmlgraphics-commons: add 2.9
    
    Bug: https://bugs.gentoo.org/832058
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/xmlgraphics-commons/Manifest              |  2 +
 .../xmlgraphics-commons-2.9.ebuild                 | 50 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2023-12-01 09:24:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43686e15d29b9e729abe9bc8a565eccf8682fe4

commit a43686e15d29b9e729abe9bc8a565eccf8682fe4
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2023-12-01 05:19:49 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-12-01 09:23:50 +0000

    dev-java/xmlgraphics-commons: drop 2.8
    
    Closes: https://bugs.gentoo.org/832058
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/xmlgraphics-commons/Manifest              |  2 -
 .../xmlgraphics-commons-2.8.ebuild                 | 72 ----------------------
 2 files changed, 74 deletions(-)