From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: ert.el --- Emacs Lisp Regression Testing Date: Sun, 06 Jan 2008 21:46:22 +0200 Message-ID: References: <47782302.5000201@fastmail.net> <477F6ADD.4000908@fastmail.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1199648818 17982 80.91.229.12 (6 Jan 2008 19:46:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 19:46:58 +0000 (UTC) Cc: ohler+emacs@fastmail.net, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 20:47:17 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBbSk-0002FY-4S for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 20:47:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBbSN-0002X3-Ce for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 14:46:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBbSK-0002WA-3j for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:46:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBbSE-0002Vn-N1 for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:46:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBbSE-0002Vk-HO for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:46:42 -0500 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBbSA-0006vn-8S; Sun, 06 Jan 2008 14:46:38 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-143-222.inter.net.il [80.230.143.222]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EON00025 (AUTH halo1); Sun, 6 Jan 2008 21:46:22 +0200 (IST) In-reply-to: (message from Richard Stallman on Sun, 06 Jan 2008 03:10:01 -0500) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86374 Archived-At: > From: Richard Stallman > CC: ohler+emacs@fastmail.net, emacs-devel@gnu.org > Date: Sun, 06 Jan 2008 03:10:01 -0500 > > For a general-purpose display testing, we need to add code to the > display engine (both its high-level device-independent part, and > lower-level display backend) that would expose to a Lisp application > the glyphs that are produced by the display engine and the > backend-dependent display commands sent to the display API > (termcap/terminfo for text terminal, X for X Window system, etc.). > > That sounds like a big job, and most of it for no purpose other than > testing. I don't see why it would be a big job. Describing an iterator structure and the glyph objects it produces is not hard, and neither is the sequence of display API calls we issue to draw. Anyway, if we ever want to have a regression testing suite for Emacs, this job is hardly avoidable. Without a good test suite, any significant changes to core machinery runs a high risk of introducing new and exciting bugs.