-
Notifications
You must be signed in to change notification settings - Fork 7.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
[TW#27689] Example unit test project runs no tests (IDFGH-13187) #2764
Comments
Git bisect (obviously my favourite tool) says 37d30c7:
See also #2765 which also has this commit as its possible cause. |
It actually looks like the unit test code isn't even included in the build tree. If you |
Confirmed working again, thanks! |
For anyone else looking at this.. I experienced the same issue using the VSC plugin, ESP-IDF v5.3-beta2.
I managed to solve my issue by setting the icon on the bottom of the IDE, 'ESP-IDF Select port to use' to the appropriate port (it was set correctly already) & then clean, rebuild etc..:
I don't understand why this impacts the tests running or not but this was the only change between the tests running & not. Hope this helps others! |
Environment
git describe --tags
to find it):v3.3-dev-301-gadd7c49a2
xtensa-esp32-elf-gcc --version
to find it): 1.22.0-80-g6c4433aProblem Description
There is an example unit test project provided in
examples/system/unit_test/test
. The docs for it say that it should have output like:...and so on. However, when I run it on a clean master with
idf.py build flash monitor
I see:Here's the build log: idf_test_build_log.txt
The text was updated successfully, but these errors were encountered: