Unhide errors from check_uptodate.sh
Displays execution errors instead of hiding them. Change-Id: I8f723d17dffb96f2aa07e7b584fa124af1441592 Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
parent
5d333b98a0
commit
236f57e6ae
@ -7,8 +7,9 @@ if [ ! -e cinder/opts.py ]; then
|
||||
exit 1
|
||||
else
|
||||
mv cinder/opts.py cinder/opts.py.orig
|
||||
tox -e genopts &> /dev/null
|
||||
tox -e genopts &> tox-genops.log
|
||||
if [ $? -ne 0 ]; then
|
||||
cat tox-genops.log >&2
|
||||
echo -en "\n\n#################################################"
|
||||
echo -en "\nERROR: Non-zero exit from generate_cinder_opts.py."
|
||||
echo -en "\n See output above for details.\n"
|
||||
|
Loading…
Reference in New Issue
Block a user