mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-10 18:06:29 +00:00
bugfix: Fix windows path case sensitivity
This commit fixes an issue where paths on Windows are case insensitive, for instance when setting the build folder its name would be converted to lowercase. The culprit is our realpath() function, that was calling os.path.normcase() internally, since we are removing that call it makes sense to just remove the function entirely and call os.path.realpath() wherever necessary. Closes https://github.com/espressif/esp-idf/issues/10282
This commit is contained in:
@@ -83,3 +83,8 @@ def test_efuse_symmary_cmake_functions(
|
||||
output = idf_py('efuse-summary')
|
||||
assert 'FROM_CMAKE: MAC: 00:00:00:00:00:00' in output.stdout
|
||||
assert 'FROM_CMAKE: WR_DIS: 0' in output.stdout
|
||||
|
||||
|
||||
def test_custom_build_folder(test_app_copy: Path, idf_py: IdfPyFunc) -> None:
|
||||
idf_py('-BBuiLDdiR', 'build')
|
||||
assert (test_app_copy / 'BuiLDdiR').is_dir()
|
||||
|
||||
Reference in New Issue
Block a user