ryankert01 opened a new issue, #826:
URL: https://github.com/apache/mahout/issues/826

   ### Description
   
   Add a root-level `conftest.py` that automatically skips QDP-dependent tests 
when the `_qdp` native extension is not built.
   
   ### Context
   
   Currently, running `pytest` from the repository root only runs tests in 
`testing/`. Once we consolidate tests, we need a mechanism to gracefully skip 
QDP tests for contributors who don't have CUDA or haven't built the extension.
   
   ### Acceptance Criteria
   
   - [ ] Create `/conftest.py` at repository root
   - [ ] Register `gpu` and `slow` pytest markers
   - [ ] Auto-detect if `_qdp` extension is importable
   - [ ] Skip tests marked with `@pytest.mark.gpu` if extension unavailable
   - [ ] Skip all tests in `testing/qdp/` directory if extension unavailable
   - [ ] Provide helpful skip message with build instructions
   - [ ] Add `qdp_available` fixture for tests that need conditional QDP access


-- 
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]

Reply via email to