Errors occurred when building regression tests.

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.

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

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.