The first error was this:<br>-----------------------------------<br>1>FAIL: Clang :: CodeGen/lineno-dbginfo.c (467 of 2059)<br>1>******************** TEST 'Clang :: CodeGen/lineno-dbginfo.c' FAILED ********************<br>
1>Script:<br>1>--<br>1>echo "#include <stdio.h>" > C:\Users\Kalyan\llvm\build\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.h<br>1>C:/Users/Kalyan/llvm/build/bin/Debug\clang.EXE  -S -save-temps -g -include C:\Users\Kalyan\llvm\build\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.h C:\Users\Kalyan\llvm\tools\clang\test\CodeGen\lineno-dbginfo.c -emit-llvm -o C:\Users\Kalyan\llvm\build\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.ll<br>
1>grep "i32 5" C:\Users\Kalyan\llvm\build\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.ll<br>1>rm -f lineno-dbginfo.i<br>1>--<br>1>Exit Code: 1<br>1>Command Output (stdout):<br>1>--<br>
1>Command 0: "echo" "#include <stdio.h>"<br>1>Command 0 Result: 0<br>1>Command 0 Output:<br>1>None<br>1>Command 0 Stderr:<br>1>Command 1: "C:/Users/Kalyan/llvm/build/bin/Debug\clang.EXE" "-S" "-save-temps" "-g" "-include" "C:\Users\Kalyan\llvm\build\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.h" "C:\Users\Kalyan\llvm\tools\clang\test\CodeGen\lineno-dbginfo.c" "-emit-llvm" "-o" "C:\Users\Kalyan\llvm\build\tools\clang\test\CodeGen\Output\lineno-dbginfo.c.tmp.ll"<br>
1>Command 1 Result: 1<br>1>Command 1 Output:<br>1>Command 1 Stderr:<br>1>In file included from <built-in>:109:<br>1>In file included from <command line>:1:<br>1>C:\\Users\\Kalyan\\llvm\\build\\tools\\clang\\test\\CodeGen\\Output\\lineno-dbginfo.c.tmp.h(1) :  fatal error: 'stdio.h' file not found<br>
1>#include <stdio.h><br>-----------------------------------------------------------<br><br>AND THE FINAL RESULT IS IN THIS WAY:<br>1>********************<br>1>Testing Time: 303.09s<br>1>********************<br>
1>Failing Tests (10):<br>1>    Clang :: CodeGen/lineno-dbginfo.c<br>1>    Clang :: Preprocessor/clang_headers.c<br>1>    Clang :: Preprocessor/has_include.c<br>1>    Clang :: Preprocessor/header_lookup1.c<br>
1>    Clang :: Preprocessor/include-directive2.c<br>1>    Clang :: Sema/attr-malloc.c<br>1>    Clang :: Sema/i-c-e.c<br>1>    Clang :: Sema/return.c<br>1>    Clang :: Sema/shift.c<br>1>    Clang :: SemaTemplate/example-dynarray.cpp<br>
1>  Expected Passes    : 2031<br>1>  Expected Failures  : 18<br>1>  Unexpected Failures: 10<br>1>lit.py: lit.cfg:124: note: using clang: 'C:/Users/Kalyan/llvm/build/bin/Debug\\clang.EXE'<br>1>Project : error PRJ0019: A tool returned an error code from "Running Clang regression tests"<br>
1>Build log was saved at "file://c:\Users\Kalyan\llvm\build\tools\clang\test\clang-test.dir\Debug\BuildLog.htm"<br>1>clang-test - 7 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 1 failed, 54 up-to-date, 0 skipped ==========<br>
------------------------------------------------------------<br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 10:17 PM, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;"><div><div></div><div class="h5"><br><div><div>On Feb 22, 2010, at 6:39 PM, kalyan ponnala wrote:</div>
<br><blockquote type="cite">Hi,<br><br>I am using the solution file derived by cmake-gui and visual studio. I am still trying to get the "clang-test" target build. No matter what I try it keeps giving me errors. :(<br>
<tt><tt><pre>Failing Tests (1):<br>
    Clang::(test path)<br>  Expected Passes    : 1704<br>  Expected Failures  : 18<br>  Unexpected Failures: 1<br></pre></tt></tt>I was going through the "hacking on clang" page "<a href="http://clang.llvm.org/hacking.html" target="_blank">http://clang.llvm.org/hacking.html</a>" and I found this :<br>
<p>------------------------------------------</p><p>Note that a few tests currently fail on Windows.  We are working to
  correct this. Therefore your output might look something like this:</p>

<tt><pre>lit.py: lit.cfg:152: note: using clang: 'C:/Tools/llvm/bin/Debug\\clang.EXE'<br>-- Testing: 1723 tests, 2 threads --<br>FAIL: Clang::(test path) (659 of 1723)<br>******************** TEST 'Clang::(test path)' FAILED ********************<br>

Script:<br>  (commands run)<br>Command Output (stdout):<br>  (output here)<br>Command Output (stderr):<br>  (output here)<br>********************<br>Testing Time: 83.66s<br>********************<br>Failing Tests (1):<br>    Clang::(test path)<br>

  Expected Passes    : 1704<br>  Expected Failures  : 18<br>  Unexpected Failures: 1<br><br></pre></tt><p>The last statistic, "Unexpected Failures", is the important one.</p>---------------------------------------------<br>
Can any one tell me if these errors have been fixed or not. And if not. How do people say "testing clang regression tests" work??<br></blockquote><br></div></div></div><div>All tests should pass on Windows. What test is failing for you?</div>
<div><br></div><div><span style="white-space: pre;">    </span>- Doug</div></div></blockquote></div><br><br clear="all"><br>-- <br>Kalyan Ponnala<br>phone: 8163772059<br>