ttfw: Fix the build directory detection when using the default build/ dir for binaries
This commit is contained in:
parent
b20eaf3306
commit
18853ae509
|
@ -383,7 +383,7 @@ class UT(IDFApp):
|
||||||
path = os.path.join(self.idf_path, app_path)
|
path = os.path.join(self.idf_path, app_path)
|
||||||
default_build_path = os.path.join(path, "build")
|
default_build_path = os.path.join(path, "build")
|
||||||
if os.path.exists(default_build_path):
|
if os.path.exists(default_build_path):
|
||||||
return path
|
return default_build_path
|
||||||
|
|
||||||
# first try to get from build folder of unit-test-app
|
# first try to get from build folder of unit-test-app
|
||||||
path = os.path.join(self.idf_path, "tools", "unit-test-app", "build")
|
path = os.path.join(self.idf_path, "tools", "unit-test-app", "build")
|
||||||
|
|
Loading…
Reference in a new issue