mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
3e8b1a90cc
1. The original test, before hint modules support was added, used tempfile.NamedTemporaryFile in a way which is not supported on windows. It was having the file open, which the hints tried to read it, leading the EPERM exception. The docs[1] says this is not supported. <quote> Whether the name can be used to open the file a second time, while the named temporary file is still open, varies across platforms (it can be so used on Unix; it cannot on Windows) </quote> 2. The hint module component_requirements test used the idf.py directly, which is idf.py.exe on windows.Now it's starting idf.py through python. We could probably used shell=True, but this approach is used in other tests too. Anyway the test are now passing on windows. [1] https://docs.python.org/3/library/tempfile.html Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com> |
||
---|---|---|
.. | ||
extra_path | ||
test_idf_extensions/test_ext | ||
error_output.yml | ||
idf_ext.py | ||
idf_py_help_schema.json | ||
test_hints.py | ||
test_idf_py.py |