[PATCH] D76768: [analyzer] Added support of scan-build and exploded-graph-rewriter regression tests for Windows

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 10 06:52:06 PDT 2020


ASDenysPetrov added a comment.

@thakis
Let me explain what works for me.
This is in my **PATH**:

- C:\Perl\c\bin
- C:\Perl\perl\site\bin
- C:\Perl\perl\bin
- D:\llvm-project\buildn\bin

This is what in D:\llvm-project\buildn\bin (all this is a product of ninja+gcc):

- clang.exe
- FileCheck.exe
- scan-build.bat
- scan-build
- llvm-lit.py

No additional changes required (CMakeList.txt, bat editing, etc.).
Than I run command promt from arbitrary dir and run next: //llvm-lit.py D:/llvm-project/clang/test/Analysis/scan-build/exclude_directories.test//
Test passes. Done.
I hope it will help.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76768/new/

https://reviews.llvm.org/D76768





More information about the cfe-commits mailing list