Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 93133 invoked from network); 6 May 2005 13:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 May 2005 13:54:26 -0000 Received: (qmail 46913 invoked by uid 500); 6 May 2005 13:52:35 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 46844 invoked by uid 500); 6 May 2005 13:52:34 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 46668 invoked by uid 99); 6 May 2005 13:52:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of m.v.lunteren@gmail.com designates 64.233.162.195 as permitted sender) Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.195) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 06 May 2005 06:52:31 -0700 Received: by zproxy.gmail.com with SMTP id 12so799617nzp for ; Fri, 06 May 2005 06:49:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SYNE4UDiWibN7BqBTD3BTuqdqRd5ha3ELsnO9uaXVS7IICm4t4JtLA9E1OUbIxxqAasPJxC25SNjSexQm1WB+r5NhUnboEAPOukkRMJY7L6J0KLsHunBa9zFICX1CNmHrzpz8LQkHLKNqdBuiE97CzF9n19fhgUYmc4e52O34f0= Received: by 10.36.80.4 with SMTP id d4mr659655nzb; Fri, 06 May 2005 06:49:38 -0700 (PDT) Received: by 10.36.12.17 with HTTP; Fri, 6 May 2005 06:49:38 -0700 (PDT) Message-ID: Date: Fri, 6 May 2005 06:49:38 -0700 From: Myrna van Lunteren Reply-To: Myrna van Lunteren To: Derby Development Subject: Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table In-Reply-To: <427B714F.2000000@sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <132604431.1115127845784.JavaMail.jira@ajax.apache.org> <427A4FC4.9020709@sun.com> <427B714F.2000000@sun.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N correct. Actually, you don't have to build derbyTesting.jar - the *.out files are all copied into the classes directory - but only when you build (ant all). So, the steps are:=20 - run the new test - copy the .out to the master directory - (this is where it lives in the subversion source tree) - build (ant all) so the test files - including the .out files and any other relevant supporting files go to the classes dir - If you want to run the test using the jars, use the ant buildjars target & all required testing files are pulled from the classes dir into the derbyTesting.jar. I'll look at making this more obvious in the testing README some time soon. Or someone else can, of course. Myrna On 5/6/05, Lance J. Andersen wrote: > I believe that is the key and I discovered that myself the other day. Th= e > master *.outs are included in the derbyingTesting.jar >=20 >=20 > Mamta Satoor wrote: > Hi, Did you do a build again after copying the .out file to the master > directory? Mamta On 5/6/05, =D8ystein Gr=F8vlen > wrote: =20 >=20 >=20 >=20 > "DVC" =3D=3D David Van Couvering writes: =20 > DVC> I'm stil learning this harness, but I am pretty sure you can run an= y > DVC> program with a main() that you want from within the test harness, ju= st > DVC> by adding the .java file to functionTests/tests. I don't think the > DVC> harness has any restrctions on this main() program being DVC> > multi-threaded or single-threaded. I guess I must have misunderstood > something. I thought that I had read on this mailing list that the ordinary > testing framework did not support multithreaded tests. Anyway, I have now > transformed my program into a test. However, when I run it using RunTest, I > get "No master file was found" even after I copied the .out file to the > master directory. Do I have to set some property in order for the test to > find the master file? I was not able to find anything about this in the > testing README file. -- =D8ystein =20 > > =20 >