From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Newsgroups: gmane.emacs.bugs Subject: bug#29187: flymake ruby and perl tests fail on rhel7.4 Date: Tue, 07 Nov 2017 15:57:29 +0000 Message-ID: <877ev2ozdi.fsf@gmail.com> References: <87r2taq5kw.fsf@gmail.com> <0tinemg9bc.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510070298 30803 195.159.176.226 (7 Nov 2017 15:58:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2017 15:58:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29187@debbugs.gnu.org, Dmitry Gutov To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 07 16:58:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC6GM-0007YJ-Hw for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 16:58:06 +0100 Original-Received: from localhost ([::1]:54162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC6GU-0007Qi-2C for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 10:58:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC6GO-0007PY-FL for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 10:58:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eC6GI-0005Sy-OS for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 10:58:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eC6GI-0005Si-KA for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 10:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eC6GI-00055V-4a for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 10:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Nov 2017 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29187 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29187-submit@debbugs.gnu.org id=B29187.151007026419534 (code B ref 29187); Tue, 07 Nov 2017 15:58:02 +0000 Original-Received: (at 29187) by debbugs.gnu.org; 7 Nov 2017 15:57:44 +0000 Original-Received: from localhost ([127.0.0.1]:56736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC6Fz-000550-Pz for submit@debbugs.gnu.org; Tue, 07 Nov 2017 10:57:44 -0500 Original-Received: from mail-wr0-f179.google.com ([209.85.128.179]:55784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC6Fx-00054o-DQ for 29187@debbugs.gnu.org; Tue, 07 Nov 2017 10:57:41 -0500 Original-Received: by mail-wr0-f179.google.com with SMTP id l8so12259441wre.12 for <29187@debbugs.gnu.org>; Tue, 07 Nov 2017 07:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=kax09pa8dqpcCbb2sfm9Y/BVoReW4CjRtM+MOycRFWs=; b=tyoJBMqslJUqTZ5UaylCx9dAkd0IjDRokj08payNXuOVet2cKYxpJ7Fkny9SELEs8E IhxcEsm2dW2abXDQh5KjWdTxZBNw2Hq24374ncnp6t+GidExQA2ETnJKH7Wwd0+NM+Vp aEGU7KUUhTgbJzikk8TL87onj21/ezeV5aS9r0Q+JTpk0U39yn6ZAiL6UDMBRqwjkimg 8CWIhESjYQhyFH2Kk86OBUbIeIfx0C/jbUhA99CX2Y3lFNMgLBBpYxVLEGMqw/SJFuvm QcOcXvULETcnPMobSDuE3TfVslBrXvuNiLp+5iM0hlnfePEiVIP/PGdrl/TChL5i0Qq4 xi7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=kax09pa8dqpcCbb2sfm9Y/BVoReW4CjRtM+MOycRFWs=; b=NHaqFBY5c5gSBp3HhSqrQVvOCJnmkMJArO7OpqyCixxstYH/nLuupTxemVBdwF2B4n c6i3l4ikr2LDNxr5ehoXLxfE6TVq4xWRvomYHmBa1FIs1NiW7TBST8hFaA4VYGswmMtQ MtFYc0qk1vBRtTPKSYDOZPgs8jN7IjYUgQFEtgvqAaHy+wDfTx5TT9C8R+RtoKvHgt0n 6ADY5Q5QOCKyDTgLymhGima3vuYAaWvxJC/uwAFD10vSQQaeeYcKhmflP2V60mHSoK8z hM/csGjWpo4lJBJgdfEUKA8Hkxi+RfECCiYIqKykBzoi14QyLSseY0kB78vZpwcozqzp SXdg== X-Gm-Message-State: AJaThX4EXsfa3QNwUoXXrAIxGna7yZjUbJiRx0ml7zZ6Ui0/BwHISpLa zH2V/vuIMykx4m0H7FrH3GKs1o27 X-Google-Smtp-Source: ABhQp+SIUAXfa+mHCw3GqjovtyCAwMOzkY/2XbSNrI+zn/eH3f8Dy49e7I3FmFDouuvgkTHFEBx3hw== X-Received: by 10.223.150.3 with SMTP id b3mr13522900wra.185.1510070255181; Tue, 07 Nov 2017 07:57:35 -0800 (PST) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id x142sm2533315wme.34.2017.11.07.07.57.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Nov 2017 07:57:34 -0800 (PST) In-Reply-To: <0tinemg9bc.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 06 Nov 2017 20:35:19 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139565 Archived-At: Glenn Morris writes: > Jo=C3=A3o T=C3=A1vora wrote: > >> Dmitry Gutov writes: > [...] >>> It also fails here via 'make check' (with Ruby 1.9.3) but succeeds >>> interactively. > > Same here. This is bizarre, because I did manage to reproduce and fix, on a separate Ubuntu machine I have access to, one of the errors that you had, Glenn, and that was indeed due to the extra diagnostic line produced by your perl. But I don't get any differences between interactive and non-interactive cases and I can't understand how your test run could possibly have succeeded interactively since it produces that same extra line. Dmitry, your case baffles me even more. Are you sure you get the exact same output as Glenn? Perhaps there's something strange and we might be dealing with different problems. Let's perhaps first agree to run tests in a common manner. Interactively: $ src/emacs -Q --eval "(setq load-prefer-newer t)" -l test/lisp/progmode= s/flymake-tests.el --eval "(ert \"\")" and non-interactively (make check also works, obviuosly) $ src/emacs -Q --eval "(setq load-prefer-newer t)" -l test/lisp/progmode= s/flymake-tests.el --batch --eval "(ert-run-tests-batch-and-exit \"\")" I get the same results in either case, no failures. Now Glenn, can you try those 2 tests again after applying this patch to flymake-tests.el? The first part should theoretically fix your perl failure and the second part should help me understand if launching ruby failed. diff --git a/test/lisp/progmodes/flymake-tests.el b/test/lisp/progmodes/fly= make-tests.el index c60f910034..98c74624b5 100644 --- a/test/lisp/progmodes/flymake-tests.el +++ b/test/lisp/progmodes/flymake-tests.el @@ -114,13 +114,16 @@ flymake-tests--wait-for-backends (flymake-tests--with-flymake ("test.pl") (flymake-goto-next-error) (should (eq 'flymake-warning (face-at-point))) - (flymake-goto-next-error) + (goto-char (point-max)) + (flymake-goto-prev-error) (should (eq 'flymake-error (face-at-point))))) =20 (ert-deftest ruby-backend () "Test the ruby backend" (skip-unless (executable-find "ruby")) (flymake-tests--with-flymake ("test.rb") + (if (memq 'ruby-flymake (flymake-disabled-backends)) + (ert-fail "Something went wrong setting up ruby flymake")) (flymake-goto-next-error) (should (eq 'flymake-warning (face-at-point))) (flymake-goto-next-error)