[cfe-dev] Running clang tests under Windows
Francois Pichet
pichet2000 at gmail.com
Wed Sep 15 04:23:18 PDT 2010
Hi..
If you want to run the tests from VS8 use the project "clang-test".
Right-click on it and select "Build", wait a little bit and you should
see something like that:
1>------ Build started: Project: clang-test, Configuration: Release Win32 ------
1>Running Clang regression tests
1>-- Testing: 2541 tests, 4 threads --
1>Testing Time: 75.77s
1> Expected Passes : 2510
1> Expected Failures : 28
1> Unsupported Tests : 3
1>lit.py: lit.cfg:129: note: using clang:
'D:/Dev/llvm/llvm_trunk/bin/Release\\clang.EXE'
1>Build log was saved at
"file://d:\Dev\llvm\llvm_trunk\tools\clang\test\clang-test.dir\Release\BuildLog.htm"
1>clang-test - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 67 up-to-date, 0 skipped ==========
The project clang-c++tests doesn't seem to work.. I don't know exactly
why. I'll look into it when I have time.
But anyway you don't need to know about CMake to run the test.
On Tue, Sep 14, 2010 at 11:23 PM, Edward Diener
<eldlistmailingz at tropicsoft.com> wrote:
> I was able to build llvm and clang using VS Studio 8 under Windows. I do
> not understand how CMake works as a VS Studio 8 utility, but the
> ALL_BUILD project built everything, including clang, with no errors (
> but there were warnings ).
>
> There is no explanation about running clang tests although the web page
> says:
>
> "Try it out (assuming you added llvm/debug/bin to your path). (See the
> running examples from above.)"
>
> I see no running examples above.
>
> I do see a number of clang test projects in the VS8 solution. When I
> tried building the "clang-c++tests" project but with a slew of errors.
> But since I do not understand how CMake works as a VS8 tool, I can
> hardly tell what these errors are all about. Any ideas ?
>
> If you are using other tools to test clang, there should be some
> explanation how this works. Needless to say I am not a big fan of having
> to learn other technologies ( CMake in this case ) just to run C++
> tests. But I do understand the necessity depending on the situation.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list