Changeset 15f2849 in mod_gnutls for test/Makefile.am


Ignore:
Timestamp:
Jun 26, 2020, 6:15:55 PM (16 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
44323c0
Parents:
40d4afa
Message:

Optionally build with LLVM/clang profiling and gather data during tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile.am

    r40d4afa r15f2849  
    235235
    236236
     237if ENABLE_COVERAGE
     238coverage_raw_dir = outputs/coverage
     239MOSTLYCLEANFILES += $(coverage_raw_dir)/*
     240endif
     241
    237242mostlyclean-local: clean-softhsm2-db stop-gnupg-agent
    238243        -rmdir $(pgp_identities:=/private-keys-v1.d) || true
     
    250255# stops.
    251256clean-local:
     257if ENABLE_COVERAGE
     258        -rmdir $(coverage_raw_dir) || true
     259endif
    252260        -rmdir $(extra_dirs) || true
    253261if USE_MSVA
     
    354362endif
    355363
     364if ENABLE_COVERAGE
     365AM_TESTS_ENVIRONMENT += export LLVM_PROFILE_FILE="$(coverage_raw_dir)/%p-%3m.profraw";
     366endif
     367
    356368# Echo AM_TESTS_ENVIRONMENT. This can be useful for debugging, e.g. if
    357369# you want to manually run an Apache instance with Valgrind using the
Note: See TracChangeset for help on using the changeset viewer.