Add more logs to firmware build
This commit is contained in:
@@ -194,7 +194,7 @@ if not os.path.isfile(path):
|
|||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
output, error = proc.communicate()
|
output, error = proc.communicate()
|
||||||
if proc.returncode == 0:
|
if proc.returncode == 0:
|
||||||
file(outpath, "a").write(output + error)
|
file(outpath, "a").write("\n".join(cmd) + output + error)
|
||||||
else:
|
else:
|
||||||
file(errpath, "w").write(output + error)
|
file(errpath, "w").write(output + error)
|
||||||
exit(COMPILATION_ERROR)
|
exit(COMPILATION_ERROR)
|
||||||
|
|||||||
Reference in New Issue
Block a user