On Wed, Jun 27, 2018 at 10:02 AM, Jason Gerecke <killert...@gmail.com>
wrote:

> Coverity has been triggering build errors for quite a while now, simply
> because their server returns a different success code after uploading
> than their script demands. We've notified them about this bug, but
> nothing seems to be happening. Lets just patch the broken code and move
> on with life.
>
> Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
>

Acked-by: Ping Cheng <ping.ch...@wacom.com>


Yeah, why not? Let's move on ;).

Cheers,
Ping

---
>  .travis.yml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index bc3f492..8135071 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -29,6 +29,7 @@ matrix:
>        env: BUILDTYPE="coverity", 
> COVERITY_SCAN_PROJECT_NAME="linuxwacom/xf86-input-wacom",
> COVERITY_SCAN_NOTIFICATION_EMAIL="killert...@gmail.com",
> COVERITY_SCAN_BUILD_COMMAND_PREPEND="", COVERITY_SCAN_BUILD_COMMAND="make",
> COVERITY_SCAN_BRANCH_PATTERN=".*", COVERITY_URL="https://scan.
> coverity.com/scripts/travisci_build_coverity_scan.sh"
>
>  before_script:
> +  - if [[ -n "$COVERITY_URL" ]]; then curl -fs "$COVERITY_URL" >
> coverity.sh && sed -i 's/"$status_code" != "201"/"$status_code" -lt 200 -o
> "$status_code" -ge 300/' coverity.sh && chmod +x coverity.sh; fi
>    # We don't want our CFLAGS (especially -Werror) to apply at `configure`
>    # time so short-circuit our environment at that moment and provide the
>    # flags to `make` instead. Not doing so results in an incorrect config:
> @@ -38,5 +39,5 @@ before_script:
>
>  script:
>    - if [[ x"$TRAVIS_EVENT_TYPE" = "xcron" ]]; then export
> DO_COVERITY="YES"; fi
> -  - if [[ x"$BUILDTYPE" = "xcoverity" && x"$DO_COVERITY" = "xYES" ]];
> then COVERITY_SCRIPT=$(curl -fs "$COVERITY_URL") && echo "$COVERITY_SCRIPT"
> | bash; fi
> +  - if [[ x"$BUILDTYPE" = "xcoverity" && x"$DO_COVERITY" = "xYES" ]];
> then bash ./coverity.sh; fi
>    - if [[ x"$BUILDTYPE" != "xcoverity" ]]; then make CFLAGS="$CFLAGS" &&
> make check; fi
> --
> 2.18.0
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to