Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880719 - dev-java/javassist-3.29.2: skips 6 test for unsolved test failures
Summary: dev-java/javassist-3.29.2: skips 6 test for unsolved test failures
Status: CONFIRMED
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:
Depends on:
Blocks: Java-test-failures
  Show dependency tree
 
Reported: 2022-11-10 10:40 UTC by Volkmar W. Pogatzki
Modified: 2022-11-10 10:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar W. Pogatzki 2022-11-10 10:40:58 UTC
src_prepare() {
	default
	java-pkg_clean javassist.jar
	sed -e 's:\.\./\.\./::' -i src/test/javassist/JvstTest{4,Root}.java || die

	# Tests run: 432,  Failures: 6
	# https://bugs.gentoo.org/856364
	# Cannot solve those test failures.
	# replacing test... with notTest... for those tests
	sed \
		-e '/public void/s:testInsertAt:notTestInsertAt:' \
		-e '/public void/s:testInsertLocal:notTestInsertLocal:' \
		-e '/public void/s:testNewArray:notTestNewArray:' \
		-e '/public void/s:testURL:notTestURL:' \
		-i src/test/javassist/JvstTest2.java || die

	sed \
		-e '/public void/s:testMethodParameters:notTestMethodParameters:' \
		-i src/test/javassist/JvstTest4.java || die

	sed \
		-e '/public void/s:testLocalVarAttribute:notTestLocalVarAttribute:' \
		-i src/test/javassist/bytecode/BytecodeTest.java || die
}