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

Bug 831248

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


# 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.

- A JDBC driver is needed to run most tests.