fail when there are test errors

[skip ci]
Merge branch 'master' of github.com:mapbox/mapbox-gl-native
fix compile errors