From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk Newsgroups: gmane.emacs.devel Subject: Re: Emacs 27.1 Windows Binaries -- testing wanted Date: Fri, 21 Aug 2020 22:56:42 +0100 Message-ID: <4a785b99c43d27a7e7d7a231db6c8f06@russet.org.uk> References: <83pn7oft7r.fsf@gnu.org> <5fd1bc533b4bfe603d106fb3ee816208@russet.org.uk> <83364keznu.fsf@gnu.org> <87imdgrlpq.fsf@telefonica.net> <83tuwzewxa.fsf@gnu.org> <87eeo3sxw0.fsf@telefonica.net> <47436f6137c965db141e290de6597fd5@russet.org.uk> <464a5bf221d1d77ea13381fb901931fd@russet.org.uk> <25cec7cf-804f-4777-9f88-295f1735e6c5_IMAP_ADDED_MISSING@UPANOVA> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4866"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.6 Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 21 23:57:17 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9F2D-0001AV-41 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Aug 2020 23:57:17 +0200 Original-Received: from localhost ([::1]:53262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9F2C-0000yY-50 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Aug 2020 17:57:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9F1i-0000ZC-Qx for emacs-devel@gnu.org; Fri, 21 Aug 2020 17:56:46 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:43544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9F1g-0000Pn-LH for emacs-devel@gnu.org; Fri, 21 Aug 2020 17:56:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Wx8Hj+vWJEHvmETTqYPDGFwRbKyIxNfcJe78LPrHan4=; b=mIDN9xDv+Zu5S1gp0p7nWOtdrJ woB8/HzlCcgw0Yz4tsY/MGQyg0YFSvJBZXTCGryPvaJNrjsSh7TFJZ+T5V8egti4lGOX1v839KfkM s/JlBjjEhfJkaM6JJErNkTVZp4D/MbS1RhiuRrOatsVqJV/VI4dHWAFUPMxuscJtErM9o1OLmjhh8 wMmsIOaWmqV+a+sEleVoQSxfKKpcd8VRyzr55qdqKI/NrYFvMbZxCX3319ixDcRfaTP9e3PitzZH5 vyFlIE4D9mdFSNYE0VRF4puo4Z5t9yq2q2KC0F8bAzik6Gjbk9tjTfIAFzxPhOLCEdUml4SlIcYCp h7JWxlEA==; Original-Received: from [::1] (port=56308 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.93) (envelope-from ) id 1k9F1e-0000is-Kb; Fri, 21 Aug 2020 22:56:42 +0100 In-Reply-To: <25cec7cf-804f-4777-9f88-295f1735e6c5_IMAP_ADDED_MISSING@UPANOVA> X-Sender: phillip.lord@russet.org.uk X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/21 17:37:13 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254096 Archived-At: On 2020-08-21 21:15, Alan Third wrote: > On Fri, Aug 21, 2020 at 08:16:41PM +0100, phillip.lord@russet.org.uk > wrote: >> On 2020-08-18 18:20, phillip.lord@russet.org.uk wrote: >> As a starter for 10, this is a file that tests features. The idea >> would be >> to include it in the main (not test) lisp hierarchy, probably with a >> single >> autoloaded command "feature-test" or something which would run ert >> with an >> appropriate selector. This would make it available for use in any >> Emacs >> distribution without having to include any files only found in the >> repo. > > Feel free to ignore me, but I feel it may be more widely useful to > provide a list of all features and mark whether they're available or > not rather than run a test that reports unavailable features as > errors. > > Something like this, but better: > > (defun insert-feature (description test) > (indent-to 2) > (insert (if test "✔" "✖")) > (indent-to 5) > (insert description) > (insert "\n")) > > (defun list-features () > (interactive) > (switch-to-buffer (get-buffer-create "*Available Features*")) > (erase-buffer) > > (insert-feature "JSON" (progn (require 'json) (fboundp > 'json-serialize))) > (insert-feature "GNUTLS" (gnutls-available-p)) > (insert-feature "pbm" (image-type-available-p 'pbm)) > (insert-feature "xpm" (image-type-available-p 'xpm)) > (insert-feature "bmp" (image-type-available-p 'bmp)) > (insert-feature "gif" (image-type-available-p 'gif)) > (insert-feature "png" (image-type-available-p 'png)) > (insert-feature "xpm" (image-type-available-p 'xpm)) > (insert-feature "jpeg" (image-type-available-p 'jpeg)) > (insert-feature "tiff" (image-type-available-p 'tiff)) > (insert-feature "svg" (image-type-available-p 'svg)) > (insert-feature "native images" (image-type-available-p > 'native-image))) > > Unless of course the idea is to automate it, I suppose, in which case > this will be of no use... That would be useful, but then I'd need to know what the correct answers are. As I build both release and snapshots for master binaries, these answers could well be different from different builds, so again, I have to remember. With an ert test, I can even put something into the .emacs on my windows build machine. When I build, I should be able to launch Emacs and it will run some basic "is the distribution package" working tests. I am thinking of features at the moment but, of course, I can run any tests at all -- I'd like to check binary stripping, and optimization for instance (the later caused problems for me before). I sanity check on the size of the files in the distribution would be useful (i.e. detecting if python has got pulled in again). Phil