autoconf-patches
[Top][All Lists]
Advanced

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

Re: test fails when no C++ compiler is available


From: Jim Meyering
Subject: Re: test fails when no C++ compiler is available
Date: Thu, 14 May 2009 13:42:51 +0200

Ralf Wildenhues wrote:
> [ dropping bug-automake, adding autoconf-patches ]
>
> Hi Jim, Eric,
>
> * Jim Meyering wrote on Tue, May 12, 2009 at 11:30:40AM CEST:
>> > I've just built automake-from-git on a newly-installed system
>> > that lacked a C++ compiler.  It failed like this:
>
>> > 220. compile.at:204: 220. Multiple languages (compile.at:204): FAILED 
>> > (compile.at:249)
>> >
>> > tests/testsuite.dir/220/config.log:
>> >
>> >   configure:2973: result: no
>> >   configure:3003: checking a simple C program that is not valid C++
>> >   configure:3018: gcc -c -g -O2  conftest.c >&5
>> >   configure:3018: $? = 0
>> >   configure:3019: result: ok
>> >   configure:3040: checking a simple C++ program that is not valid C
>> >   configure:3054: g++ -c   conftest.cpp >&5
>> >   ./configure: line 1401: g++: command not found
>> >   configure:3054: $? = 127
>
>> >   configure:3058: result: failed
>> >   configure:3060: error: could not compile test program
>
> Thanks for the bug report.  I'm proposing the following patch to fix
> this test failure,
...
>     testsuite: skip `Multiple languages' test without C++ compiler.
>
>     * tests/compile.at (Multiple languages): Skip test on systems
>     without a C++ compiler.
>     Report by Jim Meyering.

Thanks, Ralf.
Confirmed that all tests pass here.




reply via email to

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