From 03062b8db019453b3c7389e588f7d4075bd5219a Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Tue, 16 Jun 2015 18:23:32 +0300 Subject: [PATCH] Travis: Disable functional tests and allow failures for MSan. * Functional tests fail with SIGPIPE: disable them until we figure out the exact problem. * MSan reports some warnings: allow failures for the Travis build to allow fixing them in individual follow-up PRs. --- .ci/clang.sh | 9 ++++++--- .travis.yml | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.ci/clang.sh b/.ci/clang.sh index 18067c2a45..70ed7d4764 100644 --- a/.ci/clang.sh +++ b/.ci/clang.sh @@ -48,11 +48,14 @@ build/bin/nvim --version make unittest # Run functional tests. -if ! $MAKE_CMD test; then +# FIXME (fwalch): Disabled for MSAN because of SIGPIPE error. +if [ "$TRAVIS_OS_NAME" = linux ] && ! [ "$CLANG_SANITIZER" = MSAN ]; then + if ! $MAKE_CMD test; then + asan_check "$tmpdir" + exit 1 + fi asan_check "$tmpdir" - exit 1 fi -asan_check "$tmpdir" # Run legacy tests. if ! $MAKE_CMD oldtest; then diff --git a/.travis.yml b/.travis.yml index a72ec56acc..6f8b6bbc3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,8 @@ matrix: env: CI_TARGET=gcc compiler: gcc-4.9 fast_finish: true + allow_failures: + - env: CI_TARGET=clang CLANG_SANITIZER=MSAN before_install: # Pins the version of the java package installed on the Travis VMs # and avoids a lengthy upgrade process for them.