[Mlir-commits] [mlir] a885961 - [mlir][python] Fix lit run line for openacc test (#163797)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 16 07:52:59 PDT 2025


Author: Asher Mancinelli
Date: 2025-10-16T07:52:56-07:00
New Revision: a885961216ac72d08b98bd0110860e5b6e51d5c9

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

LOG: [mlir][python] Fix lit run line for openacc test (#163797)

This test passed locally because I had a python environment with the
`python` command available, but I should have used the `%PYTHON` lit
command substitution instead. Fixes buildbot failures from #163620.

Added: 
    

Modified: 
    mlir/test/python/dialects/openacc.py

Removed: 
    


################################################################################
diff  --git a/mlir/test/python/dialects/openacc.py b/mlir/test/python/dialects/openacc.py
index 6afdf450de239..8f2142a74c7a1 100644
--- a/mlir/test/python/dialects/openacc.py
+++ b/mlir/test/python/dialects/openacc.py
@@ -1,4 +1,4 @@
-# RUN: python %s | FileCheck %s
+# RUN: %PYTHON %s | FileCheck %s
 from unittest import result
 from mlir.ir import (
     Context,


        


More information about the Mlir-commits mailing list