Changeset d1d1e3a in mod_gnutls


Ignore:
Timestamp:
Jan 28, 2020, 5:23:03 AM (3 weeks ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
fe3564a
Parents:
f73eeb7
Message:

Valgrind tests: Use --keep-debuginfo=yes

By default Valgrind drops debug info for libraries that are unloaded
at runtime. This causes trouble when testing a dynamically loaded
module like mod_gnutls, because we only get "???" instead of object or
function identifiers for calls into libraries needed only by
mod_gnutls.

Location:
test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/mgstest/services.py

    rf73eeb7 rd1d1e3a  
    166166            suppress = [f'--suppressions={s}' for s in valgrind_suppress]
    167167            start_cmd = [valgrind, '-s', '--leak-check=full',
     168                         '--keep-debuginfo=yes',
    168169                         '--track-origins=yes', '--vgdb=no',
    169170                         f'--log-file={valgrind_log}'] \
  • test/suppressions.valgrind

    rf73eeb7 rd1d1e3a  
    99   ...
    1010   fun:__tls_get_addr
    11    ...
    12    fun:mgs_create_ocsp_request
     11   fun:_gnutls_rnd_init
     12   fun:gnutls_rnd
     13   fun:gnutls_ocsp_req_randomize_nonce
    1314   ...
    1415   fun:mgs_async_ocsp_update
Note: See TracChangeset for help on using the changeset viewer.