[PATCH] D22692: [utils] Test the code coverage regression-checking script

Ying Yi via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 11:49:36 PDT 2016


MaggieYi added a comment.

In https://reviews.llvm.org/D22692#495195, @vsk wrote:

> Could you share more details about how you ran the test? I'm having a hard time understanding the failure because LLVM_SRC_ROOT is set in `test/lit.cfg`. That environment variable should be set on Windows builders if the test is run with `llvm-lit test/tools/llvm-cov/report.cpp`.


I built all of LLVM projects and ran the regression tests on Windows using Visual Studio, which are mentioned in http://clang.llvm.org/get_started.html.

1. Check out LLVM/Clang;
2. Run CMake to generate the Visual Studio solution and project files: % mkdir build % cd build % cmake -G "Visual Studio 12" ..\llvm An LLVM.sln file is created  in the build directory.
3. Open LLVM.sln in Visual Studio and build the "ALL_BUILD" project to build everything.
4. Build “check-all” project to run the regression tests. The report.cpp test failed during this step.




https://reviews.llvm.org/D22692





More information about the llvm-commits mailing list