build system: add initial version of pytest-based build system tests See merge request espressif/esp-idf!19498