<br>I tried building the clang-test target. but it keeps giving me errors and exit code 1. and it gives fatal error messages like stdio.h file not found, expected string not found etc etc.,<br>the end output is:<br>1>Failing Tests (24):<br>
1>    Clang :: CodeGen/lineno-dbginfo.c<br>1>    Clang :: Driver/darwin-ld.c<br>1>    Clang :: Index/code-complete-errors.c<br>1>    Clang :: Index/code-completion.cpp<br>1>    Clang :: Index/complete-at-directives.m<br>
1>    Clang :: Index/complete-at-exprstmt.m<br>1>    Clang :: Index/complete-categories.m<br>1>    Clang :: Index/complete-interfaces.m<br>1>    Clang :: Index/complete-member-access.m<br>1>    Clang :: Index/complete-objc-message.m<br>
1>    Clang :: Index/complete-properties.m<br>1>    Clang :: Index/complete-property-flags.m<br>1>    Clang :: Index/complete-property-getset.m<br>1>    Clang :: Index/complete-protocols.m<br>1>    Clang :: Index/complete-tabs.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    : 1970<br>1>  Expected Failures  : 18<br>
1>  Unexpected Failures: 24<br>1>lit.py: lit.cfg:124: note: using clang: 'C:/Users/Kalyan/llvm/binaries/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\binaries\tools\clang\test\clang-test.dir\Debug\BuildLog.htm"<br>1>clang-test - 20 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 1 failed, 103 up-to-date, 0 skipped ==========<br>
<br>Did anyone get these kind of errors when they tried to build the clang-test target?<br><br>Thanks.<br><br><div class="gmail_quote">On Tue, Feb 16, 2010 at 4:04 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;"><br><div><div class="im"><div>On Feb 16, 2010, at 12:30 PM, kalyan ponnala wrote:</div>
<br></div><div class="im"><blockquote type="cite">Hi,<br><br>I am new to clang/llvm and I would like to know if there are any buildbots outthere that i could use to build all the clang/llvm tests. </blockquote><div><br></div>
</div><div class="im"><div>BuildBots are for continuous testing. They can't be used to build tests for you.</div><br></div><div class="im"><blockquote type="cite">I am using a solution file generated by cmake-gui on a windows system using visual studio 2008. and could you point me in right direction about things I need to know in order to run the regression tests.</blockquote>
<div><br></div></div><div class="im"><div>Once you've built Clang, build the clang-test target.</div><br></div><div class="im"><blockquote type="cite"> Apparently the buildbots on the <a href="http://llvm.org/" target="_blank">llvm.org</a> site just skip "clang-test" and other test related projects inside the solution file generated by the cmake-visual studio when building everything. <br>
</blockquote><div><br></div></div><div class="im"><div>The MSVC BuildBot does run the regression tests. See, e.g.,</div><div><br></div><div><span style="white-space: pre;">  <a href="http://google1.osuosl.org:8011/builders/clang-i686-xp-msvc9/builds/3991/steps/test-clang/logs/stdio" target="_blank">http://google1.osuosl.org:8011/builders/clang-i686-xp-msvc9/builds/3991/steps/test-clang/logs/stdio</a></span></div>
</div></div><br><div><span style="white-space: pre;">   </span>- Doug</div></div></blockquote></div><br><br clear="all"><br>-- <br>Kalyan Ponnala<br>phone: 8163772059<br>