Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Test cases depend on host system bluetooth stack. #197

Open
zelch opened this issue Jan 15, 2024 · 2 comments
Open

Test cases depend on host system bluetooth stack. #197

zelch opened this issue Jan 15, 2024 · 2 comments

Comments

@zelch
Copy link

zelch commented Jan 15, 2024

Currently, I have a decent number of test failures, because my system isn't exactly what the test cases expect, at least some of them are due to that.

This poses a bit of a problem, given that ideally we would be able to run all tests successfully in a container without access to the host hardware, so we could run them during CI.

I am very much open to suggestions on how to manage this.

In a perfectly ideal world, it would be a docker setup with a real bluez stack, just with enough emulated hardware to pass all of our test cases.

I have a sneaking suspicion that this might not be a trivial undertaking.

@zelch
Copy link
Author

zelch commented Jan 15, 2024

Or maybe it's possible, just horribly undocumented:

ukBaz/python-bluezero#142

This at least makes it seem like a path forward might be technically possible.

I don't suppose anyone else is up to trying? :)

@muka
Copy link
Owner

muka commented Jan 17, 2024

Yes you are right and would be a great addition. Honestly I never tried to have something like that working.

A PR is welcome as always! 🥇

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants