From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Automate Emacs UI testing? Date: Thu, 12 Nov 2015 12:43:49 +0100 Message-ID: References: <831tbxn5id.fsf@gnu.org> <87oaf1bvsb.fsf@wanadoo.es> <87a8qj78l0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447328685 15705 80.91.229.3 (12 Nov 2015 11:44:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2015 11:44:45 +0000 (UTC) Cc: =?iso-8859-1?Q?=D3scar?= Fuentes , emacs-devel@gnu.org To: Mathieu Lirzin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 12:44:31 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 1ZwqIn-0005o6-NX for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 12:44:29 +0100 Original-Received: from localhost ([::1]:46088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqIm-0008Ii-Vr for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 06:44:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqIi-0008IV-Qj for emacs-devel@gnu.org; Thu, 12 Nov 2015 06:44:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwqId-0007pU-Q2 for emacs-devel@gnu.org; Thu, 12 Nov 2015 06:44:24 -0500 Original-Received: from mx2.bahnhof.se ([213.80.101.12]:53291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqId-0007pL-KI; Thu, 12 Nov 2015 06:44:19 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx2-reinject (Postfix) with ESMTP id B54A040C10; Thu, 12 Nov 2015 12:44:17 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF2) Original-Received: from mf2.bahnhof.se ([127.0.0.1]) by localhost (mf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CwoH-GEC9PFQ; Thu, 12 Nov 2015 12:44:07 +0100 (CET) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf2.bahnhof.se (Postfix) with ESMTP id 8357E940212; Thu, 12 Nov 2015 12:44:07 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 80D7E4EE6FF; Thu, 12 Nov 2015 11:44:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M_tJOzKl6EyE; Thu, 12 Nov 2015 12:43:49 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 7CD194EE6FC; Thu, 12 Nov 2015 12:43:49 +0100 (CET) In-Reply-To: <87a8qj78l0.fsf@gnu.org> (Mathieu Lirzin's message of "Thu, 12 Nov 2015 12:36:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.12 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:194216 Archived-At: Mathieu Lirzin writes: > Hi, > > joakim@verona.se writes: > >> This is the testing scenario I have worked on. >> >> - Isolate an Emacs build and environment in a Docker container >> environment. This works well, but it's a little bit tricky getting the >> containerized Emacs to access the host screen. It is a nice strategy, >> because you can easily simulate a number of gnu/linux distributions. I >> used this strategy for my xwidget branch. > > I don't think this is the right way to =E2=80=9Ceasily=E2=80=9D simulate = different > GNU/linux distributions, because IIUC having one Docker container for > each distro implies maintaining them individually. > > But since GNU/linux distributions differ only by having different > combinaisons of packages or versions, So it is more lightweight and > maintainable to use a package manager like GNU Guix which handles the > installation of multiple versions of the same package and provides tools > to create isolated environments for each combinaison: > > https://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-enviro= nment > > WDYT? Sure, but in my case I wanted to explicitly test different distributions, and also that the distribution packaging worked. I wanted this for my xwidget branch. I'm not saying Docker is the correct solution in all scenarios. > > -- > Mathieu Lirzin --=20 Joakim Verona