[cfe-dev] Errors occurred when building regression tests.

kalyan ponnala ponnala.kalyan at gmail.com
Mon Feb 8 13:17:22 PST 2010


Hello,
It seems it cant find "stdio.h" and other .h files. Now how should I add
these header files to the system path or some place where the visual studio
can find them. i tried adding them to the system PATH variable C:\Program
Files (x86)\Microsoft Visual Studio 9.0\VC\include. and i tried adding them
to
tools -> options -> projects and solutions -> vc ++ directories -> include
files dropdown list.
and i clean the clang-test project and i start build.

This does not work too.
Could you please tell me how should I make the Visual studio to search for
this location C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
when building the regression tests.

thanks.

On Mon, Feb 8, 2010 at 1:07 AM, Daniel Dunbar <daniel at zuster.org> wrote:

> Hi Kalyan,
>
> Without more information, my guess would be that you don't have the
> gnuwin32 tools installed or in your path. The tests use things like
> "grep" and "sed" which won't be available on a standard windows
> install.
>
>  - Daniel
>
> On Sun, Feb 7, 2010 at 5:14 PM, kalyan ponnala <ponnala.kalyan at gmail.com>
> wrote:
> > hello,
> >
> > I have been trying to run the regression tests on the llvm/clang based
> > solution file created by the cmake using visual studio 2008. The ALLBUILD
> > was successful but the "clang-test" inside this solution was giving these
> > errors and it fails to build.
> >
> > 2>FAIL: Clang :: CodeGen/attr-noinline.c (368 of 2004)
> > 2>******************** TEST 'Clang :: CodeGen/attr-noinline.c' FAILED
> > ********************
> >
> > 2>FAIL: Clang :: CodeGen/attr-used.c (369 of 2004)
> > 2>******************** TEST 'Clang :: CodeGen/attr-used.c' FAILED
> > ********************
> >
> >
> > 2>  Expected Passes    : 1702
> > 2>  Expected Failures  : 18
> > 2>  Unexpected Failures: 284
> > 2>lit.py: lit.cfg:124: note: using clang:
> > 'C:/Users/Kalyan/llvm/build/bin/Release\\clang.EXE'
> > 2>Project : error PRJ0019: A tool returned an error code from "Running
> Clang
> > regression tests"
> > 2>Build log was saved at
> >
> "file://c:\Users\Kalyan\llvm\build\tools\clang\test\clang-test.dir\Release\BuildLog.htm"
> > 2>clang-test - 7 error(s), 54 warning(s)
> > ========== Build: 1 succeeded, 1 failed, 51 up-to-date, 0 skipped
> ==========
> >
> > Can anyone tell me anything about these errors and If I have to add any
> > libraries to this solution or add anything.
> > Thankyou.
> > --
> > Kalyan Ponnala
> > phone: 8163772059
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
> >
>



-- 
Kalyan Ponnala
phone: 8163772059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100208/c2f057b9/attachment.html>


More information about the cfe-dev mailing list