Skip to content

Conversation

ashermancinelli
Copy link
Contributor

@ashermancinelli ashermancinelli commented Oct 16, 2025

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.

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.
@llvmbot
Copy link
Member

llvmbot commented Oct 16, 2025

@llvm/pr-subscribers-mlir

Author: Asher Mancinelli (ashermancinelli)

Changes

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.


Full diff: https://github.com/llvm/llvm-project/pull/163797.diff

1 Files Affected:

  • (modified) mlir/test/python/dialects/openacc.py (+1-1)
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,

@ashermancinelli ashermancinelli requested a review from grypp October 16, 2025 14:44
@ashermancinelli ashermancinelli self-assigned this Oct 16, 2025
@ashermancinelli
Copy link
Contributor Author

Merging this one-liner without an approval to get the buildbots green again - apologies!

@ashermancinelli ashermancinelli merged commit a885961 into llvm:main Oct 16, 2025
12 checks passed
@joker-eph
Copy link
Collaborator

Thanks a lot for the quick fix!

@makslevental
Copy link
Contributor

Merging this one-liner without an approval to get the buildbots green again - apologies!

No worries - this is the standard thing to do in such cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants