Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831248 - dev-java/c3p0- does not enable tests
Summary: dev-java/c3p0- does not enable tests
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
Depends on:
Blocks: 784263 Java-test-failures
  Show dependency tree
Reported: 2022-01-15 11:56 UTC by Volkmar W. Pogatzki
Modified: 2022-07-04 15:48 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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.