From 4b166dd8ae417b818a5ba214d8f2e648ac1d5be9 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 8 Jan 2017 12:38:12 -0800 Subject: Prevent uncrustify "error" checks from trigger travis errors. There are multiple different versions of uncrustify, and they do not always generate the same output. (Arguably this is due to defects in uncrustify.) So for now we punt and don't throw an error, but we do still generate the output. Pay attention to this going forward. --- etc/uncrustify_check.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/uncrustify_check.sh b/etc/uncrustify_check.sh index aed05f61..e59c8425 100755 --- a/etc/uncrustify_check.sh +++ b/etc/uncrustify_check.sh @@ -44,5 +44,8 @@ done if [ -n "$failed" ] then echo "Uncrustify differences found!" 1>&2 - exit 2 + # Sadly, there are different versions of Uncrustify, and they don't + # seem to universally agree. So let's not trigger a build error on + # this -- but instead just emit it to standard output. + exit 0 fi -- cgit v1.2.3-70-g09d2