summaryrefslogtreecommitdiff
path: root/lib/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/runner.py')
-rw-r--r--lib/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runner.py b/lib/runner.py
index 32eb950..85df2b6 100644
--- a/lib/runner.py
+++ b/lib/runner.py
@@ -290,13 +290,13 @@ def build(arch, app, opts=[]):
res = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
universal_newlines=True)
if res.returncode != 0:
- raise RuntimeError('Build failure: ' + res.stderr)
+ raise RuntimeError('Build failure, executing {}:\n'.format(command) + res.stderr)
command = ['make', '-B', 'arch={}'.format(arch), 'app={}'.format(app)]
command.extend(opts)
res = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
universal_newlines=True)
if res.returncode != 0:
- raise RuntimeError('Build failure: ' + res.stderr)
+ raise RuntimeError('Build failure, executing {}:\n '.format(command) + res.stderr)
return command