Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C7AED5B4 for ; Thu, 23 Aug 2012 20:50:01 +0000 (UTC) Received: (qmail 35239 invoked by uid 500); 23 Aug 2012 20:50:00 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 35217 invoked by uid 500); 23 Aug 2012 20:50:00 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 35195 invoked by uid 99); 23 Aug 2012 20:50:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 20:50:00 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.183 as permitted sender) Received: from [64.18.1.183] (HELO exprod6og102.obsmtp.com) (64.18.1.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 20:49:51 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob102.postini.com ([64.18.5.12]) with SMTP ID DSNKUDaXWTRy/r8k2PY2cvT2jX89jgcnCz9b@postini.com; Thu, 23 Aug 2012 13:49:30 PDT Received: from inner-relay-1.corp.adobe.com (inner-relay-1.corp.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q7NKnRbK028012 for ; Thu, 23 Aug 2012 13:49:28 -0700 (PDT) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q7NKnRvm019357 for ; Thu, 23 Aug 2012 13:49:27 -0700 (PDT) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Thu, 23 Aug 2012 13:49:27 -0700 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Thu, 23 Aug 2012 13:49:22 -0700 Subject: Re: Getting Mustella to work. Thread-Topic: Getting Mustella to work. Thread-Index: Ac2Bbg5XnJkGYmHVQtSH+ORvu86I2AAAreP5 Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.11.0.110726 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Please use -createImages to generate baselines. There can be faulty tests where createImages produces a different image than at compare time. We wan= t to use a consistent technique so we know how things get generated. It should be rare for a baseline to be missing. I believe you've said you've been deleting them so there's a chance you are causing a problem by doing that. -createImages always overwrites current images and SVN won't check them in unless it sees an actual difference. On 8/23/12 1:29 PM, "Carlos Rovira" wrote: > Hi Alex, >=20 > for this kind of message: "Failed CompareBitmap(body:step 3) Baseline > image could not be read. Created image file as a .bad.png." >=20 > I'm renaming the created image .bad.png to the expected image to pass. Th= e > problem here is that there's no image, so I think the one created could b= e > valid. >=20 > If some of the things I post here is not right let me know... >=20 > 2012/8/23 Alex Harui >=20 >>=20 >>=20 >>=20 >> On 8/23/12 9:29 AM, "Carlos Rovira" wrot= e: >>=20 >>> Hi Alex, >>>=20 >>>=20 >>> 2012/8/23 Alex Harui >>>=20 >>>>=20 >>>> I would use the ImageDiffAir tool to figure out what is different, the= n >>>> examine the test to determine which image is the right one. >>>>=20 >>>>=20 >>> The screen shot is from ImageDiffAir tool. >> Yes, you can use the getPixel button and/or the pixel reading checkbox t= o >> determine the pixel values at certain coordinates to determine in exact >> detail the differences. >>>=20 >>>=20 >>>=20 >>>> If the red square asset got changed and is smaller then maybe the >> baseline >>>> wasn't refreshed after the asset changed. >>>>=20 >>>=20 >>> I tried more than one time and remove the images to be generated again, >> so >>> I think there's no much to do there >> I thought you'd already generated new baselines so it was making me thin= k >> that the test was unstable. If that's not the case, then you're probabl= y >> ok >> with just cutting a new one. >>>=20 >>>=20 >>>>=20 >>>> It could also be differences in rendering between platforms and machin= es >>>> and >>>> then we'll have to decide to exclude it or find a way to fix it. >>>>=20 >>>>=20 >>> I think this is what is happening since from the capture I sent not onl= y >>> red square is different, "Name" text report changes too. >> Yes, but the position of Name might be dependent on red square size. >>>=20 >>> As I'm new to mustella and already not have too much experience I'd lik= e >>> that someone point me how to proceed with this one. >>>=20 >> If the new baseline seems stable (a second run shows no differences) the= n >> just check it in for now. If there is a platform/machine difference we'= ll >> find those as others run these tests and then try to figure out how to >> stablize the test. >>=20 >> It gets trickier for tests of effects because timing can affect the >> rendering, but most tests don't have moving parts so just getting the >> folder >> to run with zero failures on your machine is good enough for now. >>=20 >> -- >> Alex Harui >> Flex SDK Team >> Adobe Systems, Inc. >> http://blogs.adobe.com/aharui >>=20 >>=20 >=20 --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui