Changeset 99c61f9 in mod_gnutls for test/runtest.py


Ignore:
Timestamp:
Jan 28, 2020, 3:37:37 AM (12 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
e46d203
Parents:
c5f8e85
Message:

Add configure option --enable-valgrind-test to run tests with Valgrind

Also includes suppressions for known issues not caused by mod_gnutls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/runtest.py

    rc5f8e85 r99c61f9  
    118118    apache = ApacheService(config=os.path.join(testdir, 'apache.conf'),
    119119                           pidfile=f'apache2{pidaffix}.pid',
    120                            valgrind_log=valgrind_log)
     120                           valgrind_log=valgrind_log,
     121                           valgrind_suppress=args.valgrind_suppressions)
    121122    backend = ApacheService(config=os.path.join(testdir, 'backend.conf'),
    122123                            pidfile=f'backend{pidaffix}.pid')
     
    221222    parser.add_argument('--valgrind', action='store_true',
    222223                        help='run primary Apache instance with Valgrind')
     224    parser.add_argument('--valgrind-suppressions', action='append',
     225                        default=[],
     226                        help='use Valgrind suppressions file')
    223227
    224228    # enable bash completion if argcomplete is available
Note: See TracChangeset for help on using the changeset viewer.