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: [Emacs-diffs] emacs-25 33ec2ff: Add one more mod-test test Date: Sun, 29 Nov 2015 05:42:15 +0200 Message-ID: <83wpt1o4iw.fsf@gnu.org> References: <20151124191433.3972.80810@vcs.savannah.gnu.org> <565A5EF3.1000900@cornell.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448768572 1284 80.91.229.3 (29 Nov 2015 03:42:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 03:42:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 29 04:42:41 2015 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 1a2ssq-0006ji-Oo for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 04:42:40 +0100 Original-Received: from localhost ([::1]:34802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2ssu-00043h-3i for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 22:42:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2ssh-00043b-Bt for emacs-devel@gnu.org; Sat, 28 Nov 2015 22:42:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2ssc-0006Jl-Cd for emacs-devel@gnu.org; Sat, 28 Nov 2015 22:42:31 -0500 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:56086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2ssc-0006JY-4o for emacs-devel@gnu.org; Sat, 28 Nov 2015 22:42:26 -0500 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NYK00C004E20L00@mtaout24.012.net.il> for emacs-devel@gnu.org; Sun, 29 Nov 2015 05:35:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYK001344MOGY90@mtaout24.012.net.il>; Sun, 29 Nov 2015 05:35:12 +0200 (IST) In-reply-to: <565A5EF3.1000900@cornell.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195510 Archived-At: > From: Ken Brown > Date: Sat, 28 Nov 2015 21:12:03 -0500 > > On 11/24/2015 2:14 PM, Eli Zaretskii wrote: > > + (let ((descr (should-error (mod-test-sum 1 2 3)))) > > + (should (eq (car descr) 'wrong-number-of-arguments)) > > + (should (stringp (nth 1 descr))) > > + (should (eq 0 > > + (string-match > > + (if (eq system-type 'windows-nt) > > + "#" > > + "#") > > + (nth 1 descr)))) > > This fails on Cygwin because > > (should-error (mod-test-sum 1 2 3)) > > evaluates to > > (wrong-number-of-arguments "#" 3) > > This is like the expected value on MS-Windows, but without the "from". > Does the missing "from" indicate a bug in the Cygwin build? It indicates that your dladdr implementation doesn't work (probably returns zero). Please ask on the Cygwin list, and if dladdr is indeed missing, the test should be updated to accommodate for this return value on Cygwin.