From 18853ae509764958ddae021d4211eb59d1bcbc26 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 11 Dec 2019 17:38:35 +1100 Subject: [PATCH] ttfw: Fix the build directory detection when using the default build/ dir for binaries --- tools/ci/python_packages/ttfw_idf/IDFApp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/python_packages/ttfw_idf/IDFApp.py b/tools/ci/python_packages/ttfw_idf/IDFApp.py index 295577670..dcf042386 100644 --- a/tools/ci/python_packages/ttfw_idf/IDFApp.py +++ b/tools/ci/python_packages/ttfw_idf/IDFApp.py @@ -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")