-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[DRUNX] Espressif QEMU runtime tests. #15733
Comments
Copy-Paste from #15730 for context :-)
@fdcavalcanti: We use QEMU available for ESP32, ESP32S3 and ESP32C3. You can find them here. All tests are Pytest based, but heavily use the pytest-embeded plugin, more specifically the pytest-embedded-nuttx plugin (supports Nuttshell parsing, flashing, etc). Simple tests like building, booting and testing if nsh> is responsive exist. Which is enough to know if the build is at least working to this extent. This allows testing most defconfigs that do not require external hardware, WiFi and BLE. However there are more complex tests that use some customized application similar to nuttx-apps. Most would be Espressif related since they target our boards and don't follow some rules (like directly calling GPIO instead of using gpio.h when testing motor driver, capture driver, etc). That's something to be analyzed internally first. I'm afraid the current NuttX CI image is not compatible. We use a Docker image that has the build system and all plugins required for the tests. |
[1] https://github.com/espressif/qemu
[2] https://github.com/espressif/pytest-embedded
[3] https://docs.pytest.org/en/stable/
The text was updated successfully, but these errors were encountered: