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: Need for a Emacs regression test suite Date: Tue, 11 Sep 2007 22:33:52 +0300 Message-ID: References: <87tzq25lff.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189539237 14016 80.91.229.12 (11 Sep 2007 19:33:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 19:33:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 21:33:55 2007 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 1IVBUg-0001Ck-8J for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 21:33:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVBUg-0005Ie-1G for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 15:33:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IVBUc-0005I5-5j for emacs-devel@gnu.org; Tue, 11 Sep 2007 15:33:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IVBUb-0005Ht-Ou for emacs-devel@gnu.org; Tue, 11 Sep 2007 15:33:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVBUb-0005Hq-Kb for emacs-devel@gnu.org; Tue, 11 Sep 2007 15:33:49 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IVBUb-0003xu-6k for emacs-devel@gnu.org; Tue, 11 Sep 2007 15:33:49 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-247-91.inter.net.il [84.229.247.91]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IWI27652 (AUTH halo1); Tue, 11 Sep 2007 22:33:39 +0300 (IDT) In-reply-to: (message from dhruva on Tue, 11 Sep 2007 09:20:58 +0530) X-Detected-Kernel: 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:78584 Archived-At: > Date: Tue, 11 Sep 2007 09:20:58 +0530 > From: dhruva > Cc: rms@gnu.org, emacs-devel@gnu.org > > For the UI part, I do not have an answer and no experience in X. I was > wondering if we can have a start time flag which can map the keyboard > and mouse to a port instead of the real mouse and keyboard. We can > have a program that can feed the events to that port. The 'select' > will be listening on that port (instead of keyboard/mouse). Looks like > it is theoretically possible but not sure if practically feasible. I'd suggest first to crack the problem of testing the non-interactive parts of Emacs, and postponing the UI part for later. After all, most of Emacs code -- the parts written in Lisp, and a significant portion of C primitives -- are not related to the display engine, so having a way to regression-test them alone would be a huge win. I'm not saying that testing display and input events is not important, just that the first approximation to a test suite does not need to solve all the problems at once, in order to be useful. Especially since the solution to automated UI exercising will probably end up being platform-specific, so will need to be tackled separately for each platform.