Use IDF_TARGET to determine the build method and the output file name

This commit is contained in:
Fu Hanxi
2020-04-29 10:47:20 +08:00
committed by bot
parent 01ff4f621f
commit 7709d4ccfd
2 changed files with 28 additions and 25 deletions

View File

@@ -385,7 +385,7 @@ class UT(IDFApp):
return path
# ``make ut-build-all-configs`` or ``make ut-build-CONFIG`` will copy binary to output folder
path = os.path.join(self.idf_path, "tools", "unit-test-app", "output", config_name)
path = os.path.join(self.idf_path, "tools", "unit-test-app", "output", target, config_name)
if os.path.exists(path):
return path