You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2022/01/13 14:10:08 UTC

svn commit: r1896996 - in /apr/apr/branches/1.7.x: ./ .travis.yml

Author: ylavic
Date: Thu Jan 13 14:10:08 2022
New Revision: 1896996

URL: http://svn.apache.org/viewvc?rev=1896996&view=rev
Log:
Merge r1896971, r1896990, r1896992 from trunk:

Add Asan builds to travis.

Disable odbc tests with ASan for now, dlclose() leaks memory somehow.

Move misplaced comment.

Modified:
    apr/apr/branches/1.7.x/   (props changed)
    apr/apr/branches/1.7.x/.travis.yml

Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1896971,1896990,1896992

Modified: apr/apr/branches/1.7.x/.travis.yml
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/.travis.yml?rev=1896996&r1=1896995&r2=1896996&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/.travis.yml (original)
+++ apr/apr/branches/1.7.x/.travis.yml Thu Jan 13 14:10:08 2022
@@ -22,16 +22,47 @@ matrix:
     - name: Maintainer-mode, no IPv6
       env: CONFIG="--enable-maintainer-mode --disable-ipv6"
     - name: Maintainer-mode, -Werror
-      env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
+      env: NOTEST_CFLAGS=-Werror
+           CONFIG="--enable-maintainer-mode"
     - name: Maintainer-mode, -Werror (Xenial)
       dist: xenial
-      env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
+      env: NOTEST_CFLAGS=-Werror
+           CONFIG="--enable-maintainer-mode"
     - name: Maintainer-mode, -Werror (Focal)
       dist: focal
-      env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
+      env: NOTEST_CFLAGS=-Werror
+           CONFIG="--enable-maintainer-mode"
     - name: GCC 10, maintainer-mode, -Werror (Focal)
       dist: focal
-      env: NOTEST_CFLAGS="-Werror -O2" CONFIG="--enable-maintainer-mode" CC=gcc-10
+      env: CC=gcc-10
+           NOTEST_CFLAGS="-Werror -O2"
+           CONFIG="--enable-maintainer-mode"
+      addons:
+        apt:
+          sources:
+            - sourceline: 'ppa:ubuntu-toolchain-r/test'
+          packages:
+            - libtool-bin
+            - gcc-10
+    - name: GCC-10, ASan (Focal)
+      dist: focal
+      # w/o ODBC since DSO unload leaks memory and fails the tests
+      env: CC=gcc-10
+           NOTEST_CFLAGS="-fsanitize=address -fno-sanitize-recover=address -fno-omit-frame-pointer -Werror -O2"
+           CONFIG="--with-odbc=no"
+      addons:
+        apt:
+          sources:
+            - sourceline: 'ppa:ubuntu-toolchain-r/test'
+          packages:
+            - libtool-bin
+            - gcc-10
+    - name: GCC-10, ASan, pool-debug (Focal)
+      dist: focal
+      # w/o ODBC since DSO unload leaks memory and fails the tests
+      env: CC=gcc-10
+           NOTEST_CFLAGS="-fsanitize=address -fno-sanitize-recover=address -fno-omit-frame-pointer -Werror -O2"
+           CONFIG="--enable-pool-debug --with-odbc=no"
       addons:
         apt:
           sources: