[all-commits] [llvm/llvm-project] 2b25e4: [MLGO] Switch test to invoke pytype through python
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Fri Jan 26 13:47:41 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b25e40a887e835c3c8d7e61feaaaaab1ed2c367
https://github.com/llvm/llvm-project/commit/2b25e40a887e835c3c8d7e61feaaaaab1ed2c367
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-01-26 (Fri, 26 Jan 2024)
Changed paths:
M llvm/utils/mlgo-utils/tests/pytype.test
Log Message:
-----------
[MLGO] Switch test to invoke pytype through python
Currently this test is assuming that ~/.local/bin (or wherever the
Python binaries are installed to) is on the path. This is not a valid
assumption in most cases, and it also means we might not find the
version of pytype associated with the Python interpreter being used to
test LLVM, which could create some inconsistencies. This patch fixes
that by invoking pytype through the Python interpreter passed to lit.
More information about the All-commits
mailing list