Skip to content

Commit 3a2b752

Browse files
authored
Merge pull request #2174 from theotherjimmy/return-from-build
[tools/build_api] Retrun truthy value on success from build_*
2 parents eca0c69 + 6aa2bbb commit 3a2b752

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/build_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ def build_library(src_paths, build_path, target, toolchain_name,
396396
cur_result["result"] = "OK"
397397

398398
add_result_to_report(report, cur_result)
399+
return True
399400

400401
except Exception, e:
401402
if report != None:
@@ -540,6 +541,7 @@ def build_lib(lib_id, target, toolchain_name, options=None, verbose=False, clean
540541
cur_result["result"] = "OK"
541542

542543
add_result_to_report(report, cur_result)
544+
return True
543545

544546
except Exception, e:
545547
if report != None:

0 commit comments

Comments
 (0)