Skip to content

Commit 1c28edc

Browse files
committed
Now that we explicitely specify a perl interpreter we should no longer use lit.util.which so we don't pick up scan-build.bat on windows
1 parent d18a903 commit 1c28edc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clang/test/Analysis/scan-build/lit.local.cfg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- Python -*-
22

3-
import lit.util
43
import lit.formats
54
import os
65

@@ -15,9 +14,8 @@ config.substitutions.append(
1514
"'%s' '%s' --use-analyzer=%s "
1615
% (
1716
config.perl_executable,
18-
lit.util.which(
19-
"scan-build",
20-
os.path.join(config.clang_src_dir, "tools", "scan-build", "bin"),
17+
os.path.join(
18+
config.clang_src_dir, "tools", "scan-build", "bin", "scan-build"
2119
),
2220
clang_path,
2321
),

0 commit comments

Comments
 (0)