Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests against noop backend? #7119

Open
kpreid opened this issue Feb 13, 2025 · 1 comment
Open

Run tests against noop backend? #7119

kpreid opened this issue Feb 13, 2025 · 1 comment
Labels
area: tests Improvements or issues with our test suite type: enhancement New feature or request

Comments

@kpreid
Copy link
Contributor

kpreid commented Feb 13, 2025

Followup from review of #7063, which promotes the Empty backend (now renamed to Noop) to external usability as a test stub:

Should the tests be run against the noop adapter? This is trivial to do (just enable it in init::initialize_instance), but of course they almost all fail, because no rendering or compute is done. However, it might be useful to do so anyway, while skipping assertions about the output, in order to test the noop backend and wgpu's validation logic.

@cwfitzgerald
Copy link
Member

I've thought about this a bit, I wonder if we can do this by having it opt in, like a enable_noop_tests to enable the test on the noop backend

@cwfitzgerald cwfitzgerald added type: enhancement New feature or request area: tests Improvements or issues with our test suite labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests Improvements or issues with our test suite type: enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants