Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 1354 invoked from network); 27 Jul 2006 20:49:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2006 20:49:52 -0000 Received: (qmail 84350 invoked by uid 500); 27 Jul 2006 20:49:50 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 84288 invoked by uid 500); 27 Jul 2006 20:49:49 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 84277 invoked by uid 99); 27 Jul 2006 20:49:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 13:49:49 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of weldonwjw@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 13:49:46 -0700 Received: by nf-out-0910.google.com with SMTP id x4so5422nfb for ; Thu, 27 Jul 2006 13:49:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eaLAl+5NHGpp5yhC+o49SY6Cu9V+QA3eF1/z80bvTeG1+PO99iot9WLCfJlR6d7/OQLIs9yayBFn9WYwxDFVOOte8bWVGFWTGE5FQcDg0Z13yw7mwCo8rWudPm9bxStt/xr1xd8Sx1kjF4Rktt0R5ieSIgjIxeins8r9SYAU+V0= Received: by 10.78.193.5 with SMTP id q5mr254625huf; Thu, 27 Jul 2006 13:49:24 -0700 (PDT) Received: by 10.78.129.14 with HTTP; Thu, 27 Jul 2006 13:49:24 -0700 (PDT) Message-ID: <4dd1f3f00607271349v10cfe0dckeb4903ae9b9ee559@mail.gmail.com> Date: Thu, 27 Jul 2006 13:49:24 -0700 From: "Weldon Washburn" To: harmony-dev@incubator.apache.org Subject: [DRLVM/MMTk] most vmmagic Address tests pass unit test about 7 need fixing MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N All, I have ported a bunch of vmmagic Address unit tests to drlvm/mmtk. About 70 of the unit tests pass. The tests for the rest of vmmagic (Offset, Word, etc) still need to be ported. At some point soon all these tests need to be donated to open source. Below is a summary of what's broken in the Address class tests: 1) Address.max() -- see email from earlier today. (it returns 0 instead of 0xffffffff); 2) Address.loadLong() and Address.loadLong(Offset) are not working 3) Address.store(long) and Address.store(long, Offset) are not working, but this may be because these tests depend on loadLong working correctly 4) Address.attempt(word...) and Address.attemp(int...) are not working (it sort of looks like the "attemp" forgot to write to memory) junit was used as the test harness. Below is the output of a test run. Ultimately they need to become part of regular regression tests. .Running .AddressTest.zero() OK Running .AddressTest.max() FAILED 1111111111 Running .AddressTest.isZero() OK Running .AddressTest.fromInt1() OK Running .AddressTest.fromInt2() OK Running .AddressTest.storeInt() OK Running .AddressTest.storeIntOffset() OK Running .AddressTest.storeObjectReference() OK Running .AddressTest.storeObjectReferenceOffset() OK Running .AddressTest.addInt() OK Running .AddressTest.addOffset() OK Running .AddressTest.loadByte() OK Running .AddressTest.loadByteOffset() OK Running .AddressTest.loadChar() OK Running .AddressTest.loadCharOffset() OK Running .AddressTest.loadDouble() OK Running .AddressTest.loadDoubleOffset() OK Running .AddressTest.loadFloat() OK Running .AddressTest.toInt() OK Running .AddressTest.loadAddress() OK Running .AddressTest.loadAddressOffset() OK Running .AddressTest.loadInt() OK Running .AddressTest.loadIntOffset() OK Running .AddressTest.storeByte() OK Running .AddressTest.storeChar() OK Running .AddressTest.storeAddress() OK Running .AddressTest.storeAddressOffset() OK Running .AddressTest.storeDouble() OK Running .AddressTest.storeByteOffset() OK Running .AddressTest.storeFloat() OK Running .AddressTest.storeFloatOffset() OK Running .AddressTest.storeCharOffset() OK Running .AddressTest.loadLong() FAILED 1111111111 Running .AddressTest.loadLongOffset() FAILED 1111111111 Running .AddressTest.storeLong() FAILED 1111111111 Running .AddressTest.storeLongOffset() FAILED 1111111111 Running .AddressTest.storeDoubleOffset() OK Running .AddressTest.loadShort() OK Running .AddressTest.loadShortOffset() OK Running .AddressTest.loadWord() OK Running .AddressTest.loadWordOffset() OK Running .AddressTest.storeShort() OK Running .AddressTest.storeShortOffset() OK Running .AddressTest.storeWord() OK Running .AddressTest.storeWordOffset() OK Running .AddressTest.toWord() OK Running .AddressTest.EQ1() OK Running .AddressTest.EQ2() OK Running .AddressTest.NQ1() OK Running .AddressTest.NQ2() OK Running .AddressTest.LE() OK Running .AddressTest.LT() OK Running .AddressTest.GE() OK Running .AddressTest.GT() OK Running .AddressTest.sub1() OK Running .AddressTest.sub2() OK Running .AddressTest.sub3() OK Running .AddressTest.sub4() OK Running .AddressTest.subInt1() OK Running .AddressTest.subInt2() OK Running .AddressTest.subInt3() OK Running .AddressTest.diff1() OK Running .AddressTest.diff2() OK Running .AddressTest.diff3() OK Running .AddressTest.prepareInt() OK Running .AddressTest.attemptInt() FAILED 1111111111 Running .AddressTest.prepareWord() OK Running .AddressTest.attemptWord() FAILED 1111111111 Running .AddressTest.addExtent() OK Running .AddressTest.subExtent() OK Running .AddressTest.subExtent3() OK Running .AddressTest.subExtent4() OK Time: 0.11 OK (1 test) -- Weldon Washburn Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org