From: Glenn Morris <rgm@gnu.org>
To: joaotavora@gmail.com (João Távora)
Cc: 29187@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#29187: flymake ruby and perl tests fail on rhel7.4
Date: Tue, 07 Nov 2017 14:02:23 -0500 [thread overview]
Message-ID: <bxtvy5syio.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <877ev2ozdi.fsf@gmail.com> ("João Távora"'s message of "Tue, 07 Nov 2017 15:57:29 +0000")
João Távora wrote:
> 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.
There's no difference between the interactive and non-interactive case
for me with the Perl test (I don't think I said there was?).
> and non-interactively (make check also works, obviuosly)
>
> $ src/emacs -Q --eval "(setq load-prefer-newer t)" -l test/lisp/progmodes/flymake-tests.el --batch --eval "(ert-run-tests-batch-and-exit \"\")"
This is not equivalent to make check, which sets HOME=/nonexistent.
Indeed that is the cause of the issue for me:
HOME=/nonexistent ruby -wc test/lisp/progmodes/flymake-resources/test.rb
fails with a ruby error:
/usr/share/rubygems/rubygems/path_support.rb:68:in `path=': undefined
method `+' for nil:NilClass (NoMethodError)
from /usr/share/rubygems/rubygems/path_support.rb:30:in `initialize'
I don't use ruby and have no idea if this is normal.
> 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
It does, thanks.
next prev parent reply other threads:[~2017-11-07 19:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-06 23:44 bug#29187: flymake ruby and perl tests fail on rhel7.4 Glenn Morris
2017-11-07 0:25 ` Dmitry Gutov
2017-11-07 0:45 ` João Távora
2017-11-07 1:35 ` Glenn Morris
2017-11-07 15:57 ` João Távora
2017-11-07 17:22 ` Dmitry Gutov
2017-11-07 19:02 ` Glenn Morris [this message]
2017-11-07 19:08 ` Glenn Morris
2017-11-07 22:58 ` João Távora
2017-11-08 1:42 ` Glenn Morris
2017-11-08 11:35 ` João Távora
2017-11-08 19:35 ` Glenn Morris
2017-11-09 20:21 ` João Távora
2017-11-07 10:21 ` Dmitry Gutov
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=bxtvy5syio.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=29187@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=joaotavora@gmail.com \
/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).