mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
But disable the gcrypt plugin, as it causes leaks. Also disable the backtraces by libunwind as they seem to cause threads to get cleaned up after the leak detective already has been disabled, which leads to invalid free()s.
40 lines
853 B
YAML
40 lines
853 B
YAML
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq bison flex gperf gettext
|
|
- ./scripts/test.sh deps
|
|
|
|
script:
|
|
- ./autogen.sh
|
|
- ./scripts/test.sh
|
|
|
|
env:
|
|
global:
|
|
- TESTS_REDUCED_KEYLENGTHS=yes
|
|
- LEAK_DETECTIVE=no
|
|
- MONOLITHIC=no
|
|
matrix:
|
|
- TEST=default
|
|
- TEST=default MONOLITHIC=yes
|
|
- TEST=default LEAK_DETECTIVE=yes
|
|
- TEST=openssl
|
|
- TEST=openssl LEAK_DETECTIVE=yes
|
|
# libgcrypt can't be deinitialized so we can't test it with leak detective
|
|
- TEST=gcrypt
|
|
# we can't test Vstr as negative int args are not properly passed to CBs
|
|
- TEST=printf-builtin
|
|
- TEST=printf-builtin LEAK_DETECTIVE=yes
|
|
- TEST=all
|
|
- TEST=all MONOLITHIC=yes
|
|
- TEST=all LEAK_DETECTIVE=yes
|
|
|
|
matrix:
|
|
include:
|
|
- compiler: gcc
|
|
env: TEST=dist
|