Replace hard-coded tck runtime timeout (7200000) to system property jpatck.run.tmo (default to 7200000).

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Albert Lee 2012-01-12 15:39:46 +00:00
parent 0ec5ae0c92
commit e267cdd562

View File

@ -7,15 +7,15 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
under the License.
-->
<!--
@ -41,6 +41,9 @@
but you can also test against prior levels by setting:
-Dtck2.level=20091209
To set the TCK run time limit, use the "jpatck.run.tmo" system property to
specify the timeout value in milliseconds. Default to 7200000 (2 hours).
To run a specific package of tests, use the "jpatck.pkg.dir" system
property to specify the parent directory of the tests you want to run.
E.g.:
@ -61,8 +64,8 @@
5. Run the TCK script
6. Parse the TCK result log to determine whether to fail the build or not
-->
<!--
Please keep the project tag on one line to avoid confusing
<!--
Please keep the project tag on one line to avoid confusing
the release plugin.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
@ -298,7 +301,7 @@ report.dir=${jpatck.reports.dir}
jpa.classes=${cp.property}
database.classes=${jpa.classes}
# Need to specify java.* classes, both in Windows/UNIX locations as well as Mac.
# This includes a few different possible locations; only one of them needs to
# This includes a few different possible locations; only one of them needs to
# actually work for a given environment.
sigTestClasspath=${JAVA_HOME}/lib/rt.jar${path.separator}${JAVA_HOME}/jre/lib/rt.jar${path.separator}${JAVA_HOME}/../Classes/classes.jar${path.separator}$${jpa.classes}
persistence.unit.properties.file.full.path=${openjpa.properties}
@ -311,7 +314,7 @@ databaseName=${db.name}
</echo>
<!-- convert backslashes and known paths with spaces
to get around a problem with the TCK testrunner
to get around a problem with the TCK testrunner
on windows -->
<echo>Update directory paths if running on Windows</echo>
<replace summary="yes" file="${jpatck.config}.tmp" replacefilterfile="windows-replacefilter.properties" />