emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] make test on Mac


From: Bastien
Subject: Re: [O] make test on Mac
Date: Wed, 01 Aug 2012 17:22:49 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Eric Schulte <address@hidden> writes:

> Bastien <address@hidden> writes:
>
>> Eric Schulte <address@hidden> writes:
>>
>>> Hmm, these tests should only be run if the "gfortran" executable is in
>>> your path.  
>>
>> So let's take them out of the test suite when gfortran is not present?
>
> That is what we do currently, or at least that is what we're supposed to
> be doing currently...  From the top of test-ob-fortran.el
>
>     ;; -*- emacs-lisp -*-
>     (org-test-for-executable "gfortran")
>     (unless (featurep 'ob-fortran)
>       (signal 'missing-test-dependency "Support for Fortran code blocks"))

Maybe this should be 

    (unless (and (org-test-for-executable "gfortran") (featurep 'ob-fortran))
      (signal 'missing-test-dependency "Support for Fortran code blocks"))

?

to also ignore the test when gfortran does not exist?  Wild guess.

-- 
 Bastien



reply via email to

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