diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-08-02 10:17:49 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-08-02 14:25:25 +0000 |
commit | 8821f98c7c2dafae58add0ebacaad1da60a66ae2 (patch) | |
tree | 83697801693fa39bc6d172ebed4727fab779ebf1 /morphlib/sourceresolver.py | |
parent | 9fc92c1403e374d78712db852fb4342f770162fb (diff) | |
download | morph-8821f98c7c2dafae58add0ebacaad1da60a66ae2.tar.gz |
builder.py: Run commands using '-e' flag in 'sh'
Some failing commands in a yaml block were being ignored. For
example the following commands...
pre-configure-commands:
- |
cp nonexistent foo
echo foo
... where giving the following result without making the build
fail:
### PRE-CONFIGURE-COMMANDS ###
+ cp nonexistent foo
cp: can't stat 'nonexistent': No such file or directory
+ echo foo
foo
This commit also adjusts the test-shell.c to allow the use of '-e'
flag. No other changes because the shell was already failing after
the first failure found.
Change-Id: Ie78b25a99f1b5d6d0d26be74ddc377025dff69fd
Diffstat (limited to 'morphlib/sourceresolver.py')
0 files changed, 0 insertions, 0 deletions