summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-03-09 13:41:59 +0100
committerDaiki Ueno <ueno@gnu.org>2021-03-10 05:30:14 +0100
commit11ab01ae35d5c4fe93d117fd12f561a69c3b810f (patch)
treeeb206efb2cd5dc3bca81e4e7ed83d67139f37d10 /.gitlab-ci.yml
parentb02c4a7209f6423e908d8e84b4767e5a0abea804 (diff)
downloadgnutls-11ab01ae35d5c4fe93d117fd12f561a69c3b810f.tar.gz
_gnutls_buffer_resize: add option to use allocation simpler logic
This helps detect common mistakes[1] in realloc usage with valgrind, where the caller assumes that the original ptr is always returned. 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1377618 Signed-off-by: Daiki Ueno <ueno@gnu.org> Co-authored-by: Alexander Sosedkin <asosedkin@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46bb2186e2..5079887168 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -389,6 +389,33 @@ fedora-valgrind/test:
only:
- branches@gnutls/gnutls
+fedora-valgrind-aggressive/build:
+ extends:
+ - .build
+ - .fedora
+ script:
+ - ./bootstrap
+ # gcc in fedora31 inlines strcmp in a way that causes valgrind errors
+ - CFLAGS="-O2 -g -fno-builtin-strcmp -DAGGRESSIVE_REALLOC" ./configure --disable-gcc-warnings --disable-doc --cache-file $CCACHE_FILE --disable-guile --disable-full-test-suite --enable-valgrind-tests
+ - make -j$BUILDJOBS
+ - make -j$BUILDJOBS check TESTS=""
+ only:
+ - branches@gnutls/gnutls
+
+fedora-valgrind-aggressive/test:
+ extends:
+ - .test
+ - .fedora
+ script:
+ - GNUTLS_TEST_TIMEOUT=600000 make -j$(nproc) check
+ dependencies:
+ - fedora-valgrind-aggressive/build
+ needs:
+ - fedora-valgrind-aggressive/build
+ timeout: 5h
+ only:
+ - branches@gnutls/gnutls
+
fedora-threadsan/build:
extends:
- .build