(cherry picked from commit 21d772a24da646bfb672418cf056199cad9b17e4)
Note: Most of the test cases shouldn't be run manually, but pytest should be used instead. E.g., to run all test cases on ESP32 using pytest, use:
pytest --target esp32 -m generic