Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 9952 invoked from network); 27 Mar 2007 14:52:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2007 14:52:16 -0000 Received: (qmail 33328 invoked by uid 500); 27 Mar 2007 14:52:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 33121 invoked by uid 500); 27 Mar 2007 14:52:23 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 33102 invoked by uid 99); 27 Mar 2007 14:52:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 07:52:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 07:52:14 -0700 Received: from d1-emea-09.sun.com (d1-emea-09.sun.com [192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2REpqYb005711 for ; Tue, 27 Mar 2007 14:51:53 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JFK00F01GY7QQ00@d1-emea-09.sun.com> (original mail from Kristian.Waagan@Sun.COM) for derby-dev@db.apache.org; Tue, 27 Mar 2007 15:51:52 +0100 (BST) Received: from [129.159.112.188] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JFK00HCKHA517E6@d1-emea-09.sun.com> for derby-dev@db.apache.org; Tue, 27 Mar 2007 15:51:41 +0100 (BST) Date: Tue, 27 Mar 2007 16:51:41 +0200 From: Kristian Waagan Subject: Re: Running test suites and interpreting results In-reply-to: <71F491F5DA99604A80DE49424BF3D02B53BE3E@exchange8.actuate.com> Sender: Kristian.Waagan@Sun.COM To: derby-dev@db.apache.org Message-id: <46092F7D.8090509@Sun.com> Organization: Sun Microsystems Inc. MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <71F491F5DA99604A80DE49424BF3D02B53B9B3@exchange8.actuate.com> <4607E54F.3030408@sun.com> <4607E644.5070700@sun.com> <71F491F5DA99604A80DE49424BF3D02B53BE3E@exchange8.actuate.com> User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; no-NO; rv:1.8.0.9) Gecko/20061229 Thunderbird/1.5.0.9 Mnenhy/0.7.5.0 X-Virus-Checked: Checked by ClamAV on apache.org Jeffrey Clary wrote: > Thanks for the pointers so far. I've got several JDKs on my system, and > I verified that I was indeed running 1.6. I modified my environment and > rebuilt everything using 1.4 (I think). Meanwhile I also set the jdk16 > property in ant.properties. I still seem to be getting the same results > from derbyall. Many of the test cases run fine, but the same set fails. > It sure seems like I am probably missing something simple. > > > Here is the contents of my ant.properties file: > > j14lib=C:/j2sdk1.4.2_13/jre/lib > jdk16=C:/Program Files/Java/jdk1.6.0 > sane=false > > > Here is what happened when I tried to run just the jdk14 test suite: Hello Jeffrey, To run the jdbc4 suite, you have to run with Java SE 6. The reason is that the JDBC 4.0 interfaces are not present in any earlier Java platform version. Also note that the suite name is 'jdbc40', not 'jdbc4'. You can see the available suites for in 'java/testing/org/apache/derbyTesting/functionTests/suites'. The files ending with '.runall' are suites for the old harness. The '.java' files are JUnit suites. We are currently migrating from the old harness to JUnit, but this is a lot of work and takes time. I believe the goal is to be done before the next release. If the suggestions above don't help, it would be helpful if you let us know what your classpath is. regards, -- Kristian > > C:\projects\svn\derby-testing2>java -version > java version "1.4.2_13" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06) > Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode) > > C:\projects\svn\derby-testing2>java > org.apache.derbyTesting.functionTests.harness.RunSuite jdbc4 > Top suite: jdbc4 > Suite to run: jdbc4:jdbc4 > Now do RunList > Suite runall file not found for jdbc4 > Generated report: jdbc4_report.txt > > > [ snip ]