Skip to content

Commit 142a5fe

Browse files
joker-ephaugusto2112
authored andcommitted
Fix LLVM test to use %python instead of python
This uses lit substitution, which fixes running this test on some environment where 'python' isn't in the path.
1 parent 7abd2c7 commit 142a5fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/lit/tests/windows-pools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Create a directory with 20 files and check the number of pools and workers per pool that lit will use.
22

33
# RUN: rm -Rf %t.dir && mkdir -p %t.dir
4-
# RUN: python -c "for i in range(20): open(rf'%t.dir/file{i}.txt', 'w').write('RUN:')"
4+
# RUN: %python -c "for i in range(20): open(rf'%t.dir/file{i}.txt', 'w').write('RUN:')"
55

66
# RUN: echo "import lit.formats" > %t.dir/lit.cfg
77
# RUN: echo "config.name = \"top-level-suite\"" >> %t.dir/lit.cfg

0 commit comments

Comments
 (0)