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

Tests not working from build #45

Open
AlyssaRogers opened this issue May 24, 2024 · 1 comment
Open

Tests not working from build #45

AlyssaRogers opened this issue May 24, 2024 · 1 comment

Comments

@AlyssaRogers
Copy link

We downloaded the uf2 file from the release page onto our pico, and it seems to function as a key properly when registering the key with google. However, when running the tests, the key fails a lot of them. Are the tests all meant to pass when using the release image? Are the tests testing special features that need to be enabled?

  1. What are the tests testing for?
  2. Do they normally fail with the code built for a non-w pico?
  3. Some of the tests are encountering errors with the fido2 errors or errors with setting up the tests. Is there a dependency we are missing or a flag that needs to be set?
    image
@polhenarejos
Copy link
Owner

  1. Tests are designed to test FIDO and other funcionalities as well to ensure proper CD/CI.
  2. Tests should not fail (except for phy u2f, which might fail due to OS timing aspects).
  3. Tests shall be executed sequentially. Do not execute specific tests because prior tests might be designed to reset the memory onto a clean state, like seems happening in the screenshot. Avoid using -k flag and let start from the beginning.

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

No branches or pull requests

2 participants