unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk
To: phillip.lord@russet.org.uk
Cc: emacs-devel@gnu.org
Subject: Re: Emacs 27.1 Windows Binaries -- testing wanted
Date: Fri, 21 Aug 2020 22:56:42 +0100	[thread overview]
Message-ID: <4a785b99c43d27a7e7d7a231db6c8f06@russet.org.uk> (raw)
In-Reply-To: <25cec7cf-804f-4777-9f88-295f1735e6c5_IMAP_ADDED_MISSING@UPANOVA>

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



  reply	other threads:[~2020-08-21 21:56 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18  2:05 Emacs 27.1 Windows Binaries -- testing wanted Jonathan Mitchell
2020-08-18  4:55 ` Eli Zaretskii
2020-08-18  6:56   ` phillip.lord
2020-08-18  7:11     ` Jonathan Mitchell
2020-08-18 15:34     ` Eli Zaretskii
2020-08-18 15:57       ` Óscar Fuentes
2020-08-18 16:33         ` Eli Zaretskii
2020-08-18 16:48           ` Óscar Fuentes
2020-08-18 17:05             ` Eli Zaretskii
2020-08-18 19:32               ` Stefan Monnier
2020-08-19  2:32                 ` Eli Zaretskii
2020-08-19 13:10                   ` Stefan Monnier
2020-08-19 15:06                     ` Eli Zaretskii
2020-08-19 15:30                       ` Stefan Monnier
2020-08-19 16:39                         ` Eli Zaretskii
2020-08-18 17:20             ` phillip.lord
2020-08-18 18:11               ` Daniel Brooks
2020-08-18 18:58                 ` Eli Zaretskii
2020-08-18 19:54                   ` Daniel Brooks
2020-08-18 18:15               ` Eli Zaretskii
2020-08-21 19:16               ` phillip.lord
2020-08-21 19:44                 ` Eli Zaretskii
2020-08-21 21:37                   ` phillip.lord
2020-08-21 22:53                     ` Drew Adams
2020-08-22  6:46                     ` Eli Zaretskii
2020-08-22 10:30                       ` phillip.lord
2020-08-24  9:28                   ` Robert Pluim
2020-08-24 10:40                     ` Eli Zaretskii
2020-08-24 12:11                       ` Robert Pluim
2020-08-24 15:14                       ` Stefan Monnier
2020-08-24 15:48                         ` Eli Zaretskii
2020-08-24 16:49                           ` Stefan Monnier
2020-08-24 17:06                             ` phillip.lord
2020-08-24 17:10                             ` Eli Zaretskii
2020-08-24 18:35                             ` Stephen Leake
2020-08-24 18:54                               ` Stefan Monnier
2020-08-24 17:01                           ` phillip.lord
2020-08-21 20:15                 ` Alan Third
2020-08-21 21:56                   ` phillip.lord [this message]
2020-08-22  6:37                     ` Eli Zaretskii
2020-08-22 10:21                       ` phillip.lord
2020-08-22 10:40                         ` Eli Zaretskii
2020-08-22 10:53                           ` phillip.lord
2020-08-22 11:15                             ` Eli Zaretskii
2020-08-22 12:52                               ` phillip.lord
2020-08-22 13:08                                 ` Eli Zaretskii
2020-08-22 13:53                                   ` phillip.lord
2020-08-22 14:35                                     ` Eli Zaretskii
2020-08-22 15:13                                       ` phillip.lord
2020-08-22 15:19                                         ` Eli Zaretskii
2020-08-22 17:28                                           ` phillip.lord
2020-08-22 17:32                                             ` Eli Zaretskii
2020-08-22 20:18                                               ` phillip.lord
2020-08-22 20:32                                                 ` Stefan Monnier
2020-08-23 21:19                                                   ` phillip.lord
2020-08-23 21:57                                                     ` Stefan Monnier
2020-08-23  5:36                                                 ` Eli Zaretskii
2020-08-23  7:53                                                   ` phillip.lord
  -- strict thread matches above, loose matches on Subject: below --
2020-08-10 23:00 Emacs 27.1 released Nicolas Petton
2020-08-12 12:01 ` phillip.lord
2020-08-15 17:49   ` Emacs 27.1 Windows Binaries -- testing wanted phillip.lord
2020-08-15 17:54     ` Eli Zaretskii
2020-08-15 18:38     ` Stephen Leake
2020-08-15 19:57     ` Alan Third
2020-08-17  4:44     ` Sivaram Neelakantan
2020-08-17 23:24     ` Tak Kunihiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a785b99c43d27a7e7d7a231db6c8f06@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).