[cfe-dev] clang-test failures under Visual Studio

Alistair Low alistair at codeplay.com
Wed Oct 20 13:15:19 PDT 2010


Hi Francois,

Thanks for the advice! Unfortunately I don't think using the latest 
version is an option for us right now. We're using version 2.8 currently.

Thanks,
Alistair

On 20/10/2010 19:38, Francois Pichet wrote:
> Hi, I run Windows 7 and VS2008 too
>> From the latest svn, I get:
> 1>Failing Tests (1):
> 1>     Clang :: Coverage/html-diagnostics.c
> 1>   Expected Passes    : 2599
> 1>   Expected Failures  : 25
> 1>   Unsupported Tests  : 3
> 1>   Unexpected Failures: 1
> 1>
>
> Coverage/html-diagnostics.c is a very recent failure.
> I have 2,628 test, you have 2,525 why?
> I suspect you are not using the latest clang/llvm right?
> try updating to the latest.
>
>
> On Wed, Oct 20, 2010 at 12:37 PM, Alistair Low<alistair at codeplay.com>  wrote:
>> Hi,
>>
>> I'm having some problems with clang-test running under Visual Studio
>> 2008 on Windows 7 (I'm not sure if the failures are specific to these
>> versions).
>>
>> The test results I get are:
>> 1>    Expected Passes    : 2449
>> 1>    Expected Failures  : 27
>> 1>    Unsupported Tests  : 3
>> 1>    Unexpected Failures: 46
>>
>> Within the 46 unexpected failures, there are two distinct problems. The
>> first is not finding standard header files:
>>
>> 1>C:\\prog\\llvm28\\bin\\tools\\clang\\test\\CodeGen\\Output\\lineno-dbginfo.c.tmp.h(1)
>> :  fatal error: 'stdio.h' file not found
>> 1>#include<stdio.h>
>>
>> Running this test case manually on the command line with the command
>> from the output window works without error, so I assume this is related
>> to running inside Visual Studio, but my include directories seem to be
>> set up correctly.
>>
>>
>> The second problem category concerns redirecting the stdout stream:
>>
>> 1>fatal error: error invoking C:\prog\llvm28\bin\bin\Debug\clang.exe
>> -ccc-clang-cxx -fsyntax-only -Xclang -code-completion-at -Xclang
>> C:\prog\llvm28\tools\clang\test\Index\code-complete-errors.c:13:12
>> -Xclang -no-code-completion-debug-printer -Xclang
>> -code-completion-macros -fdiagnostics-binary
>> C:\prog\llvm28\tools\clang\test\Index\code-complete-errors.c -pedantic :
>> can't redirect stdoutAccess is denied.
>>
>>
>> Has anyone else experienced these problems? Any help would be much
>> appreciated.
>>
>> Best regards,
>> Alistair Low
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>



More information about the cfe-dev mailing list