[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs pretest 28.0.91 is out

From: Robert Pluim
Subject: Re: Emacs pretest 28.0.91 is out
Date: Wed, 12 Jan 2022 13:59:19 +0100

>>>>> On Wed, 12 Jan 2022 12:24:28 +0100, Michael Albinus 
>>>>> <michael.albinus@gmx.de> said:

    Michael> Robert Pluim <rpluim@gmail.com> writes:
    Michael> Hi Robert,

    >> +(defun flymake-tests--gcc-is-clang ()
    >> +  "Whether the `gcc' command actually runs the Clang compiler."
    >> +  (string-match "[Cc]lang version "
    >> +                (shell-command-to-string "gcc --version")))

    Michael> I don't know whether this can happen here, but *if* 
default-directory is
    Michael> remote, the test runs on a wrong machine. Therefore, I wrap such 
    Michael> always with

    Michael> (let ((default-directory temporary-file-directory))
    Michael>   ...)

I canʼt think of a way that default-directory would be remote when
running the test suite (except inside tramp's tests).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]