From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Display test suite Date: Thu, 7 Jul 2016 11:47:54 -0400 Message-ID: <577E79AA.2060208@gmail.com> References: <83h9c1lbso.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IxV67peNU4Q7WFLQvSgXQDFuDWmRKBagW" X-Trace: ger.gmane.org 1467906532 3217 80.91.229.3 (7 Jul 2016 15:48:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2016 15:48:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 17:48:43 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLBXd-000771-U1 for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2016 17:48:42 +0200 Original-Received: from localhost ([::1]:40692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLBXd-0002N2-7I for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2016 11:48:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLBX0-0002Mq-Kk for emacs-devel@gnu.org; Thu, 07 Jul 2016 11:48:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLBWw-0004a5-Dw for emacs-devel@gnu.org; Thu, 07 Jul 2016 11:48:01 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.133]:55747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLBWw-0004Zy-48 for emacs-devel@gnu.org; Thu, 07 Jul 2016 11:47:58 -0400 Original-Received: from [18.189.62.212] ([18.189.62.212]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0M2Cyy-1bbkyW44qy-00s9v1 for ; Thu, 07 Jul 2016 17:47:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: <83h9c1lbso.fsf@gnu.org> X-Provags-ID: V03:K0:KSdbzTgSC06rzSDa0/kz+MaB4AaBSPg5E9KeCFZAS68BsW7KRw9 OwiHfqRt7DCwmncKOPTaxU+u+sMBzD3dXnwtLWYsR/EyiArXJqdRENtqFdzKVbO7QyrOpC/ SrNAtrGMdtqSIdiLfVv09JyU99BWQgeJyxzH14R8mifaJBikqd40AM8RbgCBjpDLynSJduo 7cJ6Euu8wYA77PS7jRL3g== X-UI-Out-Filterresults: notjunk:1;V01:K0:PEMWRweo4ao=:rhIexFpfIUyVIfjZVCPAuK eiAAys9yX9qRpz6lW2zXFu7cvJwhCTBfdif3kb+by+eztLiBU/lf1GRa2QewWT0Y+RVb+SGeU KhzLvmpZjFZRBjH9cU7VU23+QjfmQf0c4YZQPJeLtm2Zu+P8FIRZh3cyj0HLDnpuq/nI/43Gw ExgnjoIVJHCpHG+c11vnI5kIjix9i+B3YR/O5NG+QvmuXmolqqs9igxjAOGHLrNvGN6UjnXB7 mdOxl594xQCatZ1dE2n+AbOTDBE01GncpYk3b5NTPzZt9I1abWsYcMEdphZQtvC1iqBO348Wj zw9MZXZitDfyfW5mVfsg6isBdZC26yEr2AA4fiEEnWlCCL07aT/Q06vxawaVRLxnQMNKjYDBm Wyrs2/H6dSnGk9PPQTxQGpl3Gn9m90TxBOnpl7zvj7rzbJUGmEqsR21pMTjr7GLJ7o6CrZNp9 v1oPYKYezT5bvwslQepO1oTKUWJCHYougtcUTwkOtVaAJpiCc6Z1cTd4SkiYPHuxOXNmSghlC R9Y2+F7MfAtpTGWA0QkyxtCWqdyIbVsvOP34GGPk+ldfOjPznpV0X3yyuiyRxxXffg2A4+CW5 zYeYZ80VzxtWy7ypCyxgwe9lJYnz4xJiWv3rgHnRRK3rAK+t55lk6XaQGkE94oevr+tEMuGlh 4jWV7E+HORYFd8hUqflpHQYSkOWBeg9ScyPYhp8SYmDV3+/QAAadNBgv5xIJ4xMgH560= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205341 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IxV67peNU4Q7WFLQvSgXQDFuDWmRKBagW Content-Type: multipart/mixed; boundary="kmBWOse91K8jdhSJU89mLBEaPRkoUvSO0" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <577E79AA.2060208@gmail.com> Subject: Display test suite References: <83h9c1lbso.fsf@gnu.org> In-Reply-To: <83h9c1lbso.fsf@gnu.org> --kmBWOse91K8jdhSJU89mLBEaPRkoUvSO0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-07-07 11:15, Eli Zaretskii wrote: > They also risk introducing bugs, and we don't really have a test > suite for the display engine to be sure we didn't screw up anything. Richard recently suggested giving Emacs the ability to take a screenshot = of itself. Could we imagine using this to run regression tests of the dis= play engine? I already use a similar process in one of my packages: the idea is to scr= ipt Emacs using a simple DSL (see https://github.com/cpitclaudel/company-= coq/blob/master/etc/rebuild-screenshots.el#L419 for an example, and https= ://github.com/cpitclaudel/company-coq/blob/master/img/match-function.gif = for the output), and record a screenshot after each command; then, I use = these images to generate the README page on https://github.com/cpitclaude= l/company-coq/. Since these images are checked in, any time a change has = visible consequences I see it immediately, and I can use ImageMagick to g= et a visual diff. Of course, it could be hard to get screeenshots to looks exactly the same= for everyone. Instead, we could have a makefile target that builds a lar= ge collection of these screenshots, and another one that rebuilds it and = compares against a previously generated one. Cl=E9ment. --kmBWOse91K8jdhSJU89mLBEaPRkoUvSO0-- --IxV67peNU4Q7WFLQvSgXQDFuDWmRKBagW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJXfnmrAAoJEPqg+cTm90wjRsUP/iV1eN5y3fY2e/M5FWQQ2ZIa 1Dk11XXJRvrE8LlL+vHpV3DIFAx0NfHbKQ7laYPNt3L/oSmxTxTJHp1VoIqB/vTA 7UOA07h8Gc0Pi/N0bXIMpqX+8537a7W8XT5MZ2PY41XyJMsdR8HjV8RcC7aSKTkC lr/Cgt6S2vxlB0XA9XJqYuFLhRy8EHSpG0zhsuI1XJgz1SKME/+a9z5tuf3u0tTD t9b+8bysr1Kt8TlIv6d9qDKc2BbrvPviS3ONP736hZUey6eBFX4r2zHQR7bPYMSe ukC78Ht+4Ui70W6BeDoesXG9Ui64cY5bqJqjxpCZxjR7fcVt2W6C9taXU5tgWnYB 4+jsqCqiFWbD7tMjy+xzCUiJWEzDR/BPDKkqBtvSJ4Th9bJ7MAwhKGvEutRUBynX zk8wV9ISHjpqJcZRkCdFbfRdZELMxOHR2kOQ0SPjfZ51YpSZLTgcRASz+s7FXhou sj99so8qg6UdciRGLN8zBNFH53rSDvYmB9PbI2JKsCn6agUQ+qcXC2UEOADp3mEs SDASIyUWYkwOPn+yZccckPrnt4f6L4L/Uk33kdqWMQYuIO8BVEKmYO9DcXpyfMVY ZPNUDFvFsjkfxPgsyLL3ZflffKrX4snb40ALkt6e9inQvlYAPJG03r2QIAjNLKcx kTZ+utrEXT2IxZjU1L2C =bqf8 -----END PGP SIGNATURE----- --IxV67peNU4Q7WFLQvSgXQDFuDWmRKBagW--