GNU bug report logs - #11185
flex %option "never-interactive" breaks few tests on Solaris

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Thu, 5 Apr 2012 13:42:02 UTC

Severity: minor

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Peter Rosin <peda <at> lysator.liu.se>
Cc: 11185 <at> debbugs.gnu.org, "automake-patches <at> gnu.org" <automake-patches <at> gnu.org>
Subject: bug#11185: flex %option "never-interactive" breaks few tests on Solaris
Date: Mon, 09 Apr 2012 00:23:52 +0200
[Message part 1 (text/plain, inline)]
tags 11185 + patch
close 11185
thanks

On 04/05/2012 09:22 PM, Peter Rosin wrote:
> On 2012-04-05 15:40, Stefano Lattarini wrote:
>> Severity: minor
>> thanks
>>
>> Hello automakers, Peter.
>>
>> The commit v1.11-2058-g6f4b08d of 06-03-2012, "tests: explicitly state
>> that our lexers do not require unistd.h", has been causing at least
>> the tests 'lex-clean-cxx.test' and 'lex-depend-cxx.test' to break on
>> Solaris, where lex is not flex, and does not understand the directive
>> "%option never-interactive".
>>
>> Any opinion on how to better fix this?  Is defining a dummy 'isatty'
>> function in our C++ sources enough to avoid the failures on MSYS?
> 
> Yes, the test still passes with MSVC and the below patch.
>
> [SNIP]
>
Thanks.  I've pushed the attached patch to master, which should fix the
problem.  I'm thus closing this bug report.

Regards,
  Stefano
[0001-tests-avoid-spurious-failures-with-non-flex-lex-prog.patch (text/x-diff, attachment)]

This bug report was last modified 13 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.