From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathieu Lirzin Newsgroups: gmane.emacs.devel Subject: Re: Automate Emacs UI testing? Date: Thu, 12 Nov 2015 12:36:43 +0100 Message-ID: <87a8qj78l0.fsf@gnu.org> References: <831tbxn5id.fsf@gnu.org> <87oaf1bvsb.fsf@wanadoo.es> 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 1447328225 8156 80.91.229.3 (12 Nov 2015 11:37:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2015 11:37:05 +0000 (UTC) Cc: =?utf-8?Q?=C3=93scar?= Fuentes , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 12:36:58 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 1ZwqBU-00067D-D7 for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 12:36:56 +0100 Original-Received: from localhost ([::1]:46045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqBS-0002or-Ja for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 06:36:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqBO-0002oO-Hi for emacs-devel@gnu.org; Thu, 12 Nov 2015 06:36:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwqBL-0005aE-BF for emacs-devel@gnu.org; Thu, 12 Nov 2015 06:36:50 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwqBL-0005aA-7n; Thu, 12 Nov 2015 06:36:47 -0500 Original-Received: from mek33-4-82-236-46-88.fbx.proxad.net ([82.236.46.88]:55744 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZwqBK-0008A3-JH; Thu, 12 Nov 2015 06:36:46 -0500 In-Reply-To: (joakim@verona.se's message of "Tue, 10 Nov 2015 20:16:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:194215 Archived-At: 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 di= fferent 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-environm= ent WDYT? -- Mathieu Lirzin