summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Baker <tyler.baker@linaro.org>2013-10-25 12:02:33 -0700
committerTyler Baker <tyler.baker@linaro.org>2013-10-25 12:02:33 -0700
commitaed612de0b54c795b59f5e5478bb6561ce6c4811 (patch)
tree2762f8a0d12afedef0c7edd9a9b251005c7b074b
parente498fceeb29d6d4d141e380c6435118b491644c3 (diff)
downloadlava-pep8-aed612de0b54c795b59f5e5478bb6561ce6c4811.tar.gz
Better error messages.
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
-rw-r--r--run.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index f7a48ef..2172e40 100644
--- a/run.sh
+++ b/run.sh
@@ -46,7 +46,10 @@ function pep8_check ()
if [[ -s $WORKSPACE/pep8 ]]
then
echo "* PEP8 Check Failed:" >> $WORKSPACE/results
- sed 's/^/*/g' $WORKSPACE/pep8 >> $WORKSPACE/results
+ sed 's/^/*/g' $WORKSPACE/pep8 >> $WORKSPACE/results
+ echo "PEP8 CHECK FAILED:"
+ pep8 --ignore E501 --show-source --show-pep8
+ echo "* Please see the $BUILD_URL/console for verbose PEP8 output" >> $WORKSPACE/results
else
echo "* PEP8 Check Passed:" >> $WORKSPACE/results
fi