Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831248

Summary: dev-java/c3p0-0.9.5.5: does not enable tests
Product: Gentoo Linux Reporter: Volkmar W. Pogatzki <gentoo>
Component: Current packagesAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal CC: fordfrog, gentoo, liaoyuan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 856409    

Description Volkmar W. Pogatzki 2022-01-15 11:56:02 UTC
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# Tests require an existing running SQL server and 'junit.jar.file' property
JAVA_PKG_IUSE="doc examples source"

inherit java-pkg-2 java-ant-2
Comment 1 Yuan Liao (Leo3418) 2022-01-15 15:48:21 UTC
Some notes for anyone interested in trying to enable the tests based on my experiment with building this package:

- To run the 'junit-tests' Ant target, the 'junit.jar.file' JVM system property must be set to the path to a JUnit 3 JAR file. https://github.com/swaldman/c3p0/blob/c3p0-0.9.5.5/build.xml#L570

- A JDBC driver is needed to run most tests.
Comment 2 Volkmar W. Pogatzki 2024-09-01 08:37:43 UTC
No longer block the python tracker bug #784263