ttfw: Fix the build directory detection when using the default build/ dir for binaries

pull/4494/head
Angus Gratton 2019-12-11 17:38:35 +11:00 zatwierdzone przez Angus Gratton
rodzic b20eaf3306
commit 18853ae509
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -383,7 +383,7 @@ class UT(IDFApp):
path = os.path.join(self.idf_path, app_path)
default_build_path = os.path.join(path, "build")
if os.path.exists(default_build_path):
return path
return default_build_path
# first try to get from build folder of unit-test-app
path = os.path.join(self.idf_path, "tools", "unit-test-app", "build")