gemini-code-assist[bot] commented on code in PR #18863:
URL: https://github.com/apache/tvm/pull/18863#discussion_r2872935940


##########
tests/python/s_tir/meta_schedule/test_meta_schedule_builder.py:
##########
@@ -110,6 +110,7 @@ def _check_build_results(builder_results: 
list[BuilderResult]):
         os.rmdir(os.path.dirname(artifact_path))
 
 
[email protected]("Tuning test - launches runner")

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   Using `@pytest.mark.skip` permanently disables this test unless the code is 
changed. A more flexible approach is to use a custom marker, for example 
`@pytest.mark.tuning`.
   
   This allows you to control test execution from the command line. For 
example, you could run all tests *except* tuning tests in your main CI loop 
with `pytest -m "not tuning"`, and run tuning tests in a separate, less 
frequent job with `pytest -m "tuning"`.
   
   To use a custom marker, you'll need to register it in your `pytest.ini` or 
`pyproject.toml` file to avoid warnings.
   
   ```suggestion
   @pytest.mark.tuning
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to