[Mlir-commits] [mlir] 8740ff8 - [mlir][docs][python] Fix up testing docs (#147092)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jul 4 10:45:02 PDT 2025


Author: Jakub Kuderski
Date: 2025-07-04T13:44:59-04:00
New Revision: 8740ff822d462844506134bb7c425e1778518b95

URL: https://github.com/llvm/llvm-project/commit/8740ff822d462844506134bb7c425e1778518b95
DIFF: https://github.com/llvm/llvm-project/commit/8740ff822d462844506134bb7c425e1778518b95.diff

LOG: [mlir][docs][python] Fix up testing docs (#147092)

Use the correct path to binding tests.
Also add a suggested ninja command to run tests.

Added: 
    

Modified: 
    mlir/docs/Bindings/Python.md

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Bindings/Python.md b/mlir/docs/Bindings/Python.md
index b8bd0f507a510..bef9e7f54948d 100644
--- a/mlir/docs/Bindings/Python.md
+++ b/mlir/docs/Bindings/Python.md
@@ -51,7 +51,10 @@ python -m pip install --upgrade pip
 # packages will be installed there.
 python -m pip install -r mlir/python/requirements.txt
 
-# Now run `cmake`, `ninja`, et al.
+# Now run your build command with `cmake`, `ninja`, et al.
+
+# Run mlir tests. For example, to run python bindings tests only using ninja:
+ninja check-mlir-python
 ```
 
 For interactive use, it is sufficient to add the
@@ -859,7 +862,7 @@ mutually exclusive with a more complete mapping of the backing constructs.
 
 ## Testing
 
-Tests should be added in the `test/Bindings/Python` directory and should
+Tests should be added in the `mlir/test/python` directory and should
 typically be `.py` files that have a lit run line.
 
 We use `lit` and `FileCheck` based tests:


        


More information about the Mlir-commits mailing list