You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by fu...@apache.org on 2005/01/24 08:39:23 UTC
svn commit: r126267 - /incubator/derby/code/trunk/BUILDING.txt /incubator/derby/code/trunk/build.xml /incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java
Author: fuzzylogic
Date: Sun Jan 23 23:39:22 2005
New Revision: 126267
URL: http://svn.apache.org/viewcvs?view=rev&rev=126267
Log:
Fix for Derby-114 - jar target name in target buildworld was incorrect.
Fix for Derby-88 - RunSuite rounds incorrectly, use Math.ceil and Math.floor
for better rounding of test pass/fail statistics.
Partial fix for Derby-68 - Fix JDK revision typo in BUILDING.txt
Modified:
incubator/derby/code/trunk/BUILDING.txt
incubator/derby/code/trunk/build.xml
incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java
Modified: incubator/derby/code/trunk/BUILDING.txt
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/BUILDING.txt?view=diff&rev=126267&p1=incubator/derby/code/trunk/BUILDING.txt&r1=126266&p2=incubator/derby/code/trunk/BUILDING.txt&r2=126267
==============================================================================
--- incubator/derby/code/trunk/BUILDING.txt (original)
+++ incubator/derby/code/trunk/BUILDING.txt Sun Jan 23 23:39:22 2005
@@ -362,7 +362,7 @@
- j13lib
This is a required variable which defines the location of
- JDK 1.4.x. Define the variable as following:
+ JDK 1.3.x. Define the variable as following:
j13lib=${jdk13.dir}/jre/lib
Modified: incubator/derby/code/trunk/build.xml
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/build.xml?view=diff&rev=126267&p1=incubator/derby/code/trunk/build.xml&r1=126266&p2=incubator/derby/code/trunk/build.xml&r2=126267
==============================================================================
--- incubator/derby/code/trunk/build.xml (original)
+++ incubator/derby/code/trunk/build.xml Sun Jan 23 23:39:22 2005
@@ -1034,13 +1034,13 @@
<antcall target="clobber"/>
<antcall target="insane"/>
<antcall target="all"/>
- <antcall target="jars"/>
+ <antcall target="buildjars"/>
<!-- Build sane product jars -->
<antcall target="clobber"/>
<antcall target="sane"/>
<antcall target="all"/>
- <antcall target="jars"/>
+ <antcall target="buildjars"/>
<!-- Build everything else -->
<antcall target="javadoc"/>
Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java?view=diff&rev=126267&p1=incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java&r1=126266&p2=incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java&r2=126267
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java (original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/GenerateReport.java Sun Jan 23 23:39:22 2005
@@ -186,8 +186,8 @@
NumFail = CountLines (failFileName);
NumRun = NumPass+NumFail;
NumSkip = CountLines (skipFileName);
- PercentPass = (int)Math.round(100* ((double)NumPass/(double)NumRun));
- PercentFail = (int)Math.round(100* ((double)NumFail/(double)NumRun));
+ PercentPass = (int)Math.ceil(100* ((double)NumPass/(double)NumRun));
+ PercentFail = (int)Math.floor(100* ((double)NumFail/(double)NumRun));
}
static int CountLines(String fileName) {