[all-commits] [llvm/llvm-project] 635125: [lit] fix a error when using --show-used-features
Yuanfang Chen via All-commits
all-commits at lists.llvm.org
Wed Oct 19 10:57:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 63512592e97d0b452d9cd666dc09bd63e18b0828
https://github.com/llvm/llvm-project/commit/63512592e97d0b452d9cd666dc09bd63e18b0828
Author: Yuanfang Chen <yuanfang.chen at sony.com>
Date: 2022-10-19 (Wed, 19 Oct 2022)
Changed paths:
M llvm/utils/lit/lit/main.py
Log Message:
-----------
[lit] fix a error when using --show-used-features
The error is
```
NotADirectoryError: [Errno 20] Not a directory: '<build-dir>/unittests/Analysis/./AnalysisTests/0/40'
```
Exclude unittests when collecting features because
unittests don't make use of feature keywords.
More information about the All-commits
mailing list