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

ci(esp_tinyusb): Run esp_tinyusb test apps in CI #75

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

Conversation

peter-marcisovsky
Copy link
Collaborator

@peter-marcisovsky peter-marcisovsky commented Oct 8, 2024

Description

This MR enables esp_tinyusb tests in CI on a new usb_device runner

When running pytest_usb_device.py (all test cases from group usb_device) all tests are failing in both locally and in CI, due to missing tusb_teardown() from PR #39

Related

Testing

To pass the CI


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

@peter-marcisovsky
Copy link
Collaborator Author

peter-marcisovsky commented Oct 15, 2024

esp_tinyusb tests overview:

test_apps
    ├── cdc_and_usb_device
    |       ├── cdc_acm_test:
    |       |        ├── Local: pass only first run of test case, missing tud_teardown
    |       |        └── CI: pass only first run of test case, missing tud_teardown
    |       └── usb_device_test:
    |                 ├── Local: pass only first run of test case, missing tud_teardown
    |                 └── CI: TinyUSB COM port not found
    |                         kernel driver would not enumerate the tinyusb device
    |                         maybe problem with settings of tinyusb descriptors in this test case, because USB device from is being 
    |                         enumerated by CI runner cdc_acm_test 
    └── vendor
             └── vendor_test:
                      ├── Local: pass
                      └── CI: ValueError: Device not found

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

Successfully merging this pull request may close these issues.

1 participant