kopia lustrzana https://github.com/espressif/esp-idf
![]() 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 | ||
file_args_expansion_inputs | ||
test_idf_extensions/test_ext | ||
error_output.yml | ||
idf_ext.py | ||
idf_py_help_schema.json | ||
test_hints.py | ||
test_idf_py.py |