From b59147070021ef2838e47c5c29331f6816b73f65 Mon Sep 17 00:00:00 2001 From: Emilia Kasper Date: Tue, 5 Apr 2016 15:11:02 +0200 Subject: [PATCH] Adjust --strict-warnings builds in Travis In Travis, do --strict-warnings on BUILDONLY configurations. This ensures that the tests run even if --strict-warnings fail, and avoids hiding unrelated test failures. Reviewed-by: Richard Levitte --- .travis.yml | 12 ++++++------ CHANGES | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 359a9805d0..27f4b37f55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,12 +24,12 @@ compiler: env: - CONFIG_OPTS="shared" - - CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" - - CONFIG_OPTS="" BUILDONLY="yes" + - CONFIG_OPTS="--debug enable-crypto-mdebug enable-rc5 enable-md2" + - CONFIG_OPTS="--strict-warnings" BUILDONLY="yes" - CONFIG_OPTS="--classic" BUILDONLY="yes" - CONFIG_OPTS="--classic shared" BUILDONLY="yes" - - CONFIG_OPTS="no-pic" BUILDONLY="yes" - - CONFIG_OPTS="no-engine" BUILDONLY="yes" + - CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes" + - CONFIG_OPTS="no-engine --strict-warnings" BUILDONLY="yes" matrix: include: @@ -38,13 +38,13 @@ matrix: env: CONFIG_OPTS="-fsanitize=address" - os: linux compiler: clang-3.6 - env: CONFIG_OPTS="no-asm --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2" + env: CONFIG_OPTS="no-asm -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2" - os: linux compiler: gcc-5 env: CONFIG_OPTS="-fsanitize=address" - os: linux compiler: gcc-5 - env: CONFIG_OPTS="no-asm --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2" + env: CONFIG_OPTS="no-asm -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2" - os: linux compiler: i686-w64-mingw32-gcc env: CONFIG_OPTS="no-pic" diff --git a/CHANGES b/CHANGES index f404994aad..b71b8503ea 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,11 @@ Changes between 1.0.2g and 1.1.0 [xx XXX xxxx] + *) --strict-warnings no longer enables runtime debugging options + such as REF_DEBUG. Instead, debug options are automatically + enabled with '--debug' builds. + [Andy Polyakov, Emilia Käsper] + *) Made DH and DH_METHOD opaque. The structures for managing DH objects have been moved out of the public header files. New functions for managing these have been added.