[ovs-dev] [PATCH] travis: Only run testsuite for gcc builds

Flavio Leitner fbl at redhat.com
Fri Nov 28 13:01:17 UTC 2014


On Fri, Nov 28, 2014 at 01:50:02PM +0100, Thomas Graf wrote:
> This reduces the total travis build time significantly.
> 
> Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
> ---
>  .travis/build.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis/build.sh b/.travis/build.sh
> index 6e99c63..990d263 100755
> --- a/.travis/build.sh
> +++ b/.travis/build.sh
> @@ -80,7 +80,7 @@ else
>      make CFLAGS="$CFLAGS" C=1
>  fi
>  
> -if [ $TESTSUITE ]; then
> +if [ $TESTSUITE ] && [ $CC != "clang" ]; then
>      if ! make distcheck; then
>          # testsuite.log is necessary for debugging.
>          cat */_build/tests/testsuite.log

I like the idea but my concern is that clang could
generate a slightly different code that helps to find
a subtle problem.

fbl




More information about the dev mailing list