<div dir="ltr">Hello,<br><br>After some configuration woes, I managed to run the clang test suite on my Windows 7 box, with clang built with MSVC 2008 (the source checked out yesterday from trunk). Except the "index" lib which didn't build, all tests pass except <br>
<br> Clang :: CodeGenCXX/nullptr.cpp (error with fatal error: 'typeinfo' file not found)<br> Clang :: CodeGenObjC/image-info.m<br><br>And a couple of tests that give Python errors and hence don't run, for example:<br>
<br>UNRESOLVED: Clang :: Preprocessor/dependencies-and-pp.c (26 of 125)<br>******************** TEST 'Clang :: Preprocessor/dependencies-and-pp.c' FAILED ********************<br>Exception during script execution:<br>
Traceback (most recent call last):<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\main.py", line 122, in runTest<br> self.litConfig)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestFormats.py", line 124, in execute<br>
self.execute_external)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 565, in executeShTest<br> res = executeScriptInternal(test, litConfig, tmpBase, script, execdir)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 246, in executeScriptInternal<br>
exitCode = executeShCmd(cmd, test.config, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br> res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br>
res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br> res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br>
res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br> res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br>
res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br> res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br>
res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br> res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br>
res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 54, in executeShCmd<br> res = executeShCmd(cmd.lhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 59, in executeShCmd<br>
res = executeShCmd(cmd.rhs, cfg, cwd, results)<br> File "c:\eli\test\llvm_svn\llvm\utils\lit\lit\TestRunner.py", line 166, in executeShCmd<br> close_fds = kUseCloseFDs))<br> File "C:\Python26\lib\subprocess.py", line 623, in __init__<br>
errread, errwrite)<br> File "C:\Python26\lib\subprocess.py", line 833, in _execute_child<br> startupinfo)<br>WindowsError: [Error 193] %1 is not a valid Win32 application<br><br><br>Is this normal, or is some other configuration missing? <br>
Thanks in advance,<br>Eli<br><br><br></div>