don't "domain block" address literals
[ghsmtp.git] / cov.sh
blob1f8d0158b8120d7fe345e3b6b7a2d361b863bbba
1 #!/bin/bash
3 PROF=smtp.profraw
5 rm -f ${PROF} smtp.profdata
7 PROFD=/tmp/smtp-profile
9 mkdir -p ${PROFD}
11 ASAN_OPTIONS=detect_odr_violation=0 ./snd
12 mv ${PROF} ${PROFD}/${PROF}.0
14 ASAN_OPTIONS=detect_odr_violation=0 ./snd -badpipline
15 mv ${PROF} ${PROFD}/${PROF}.1
17 ASAN_OPTIONS=detect_odr_violation=0 ./snd -huge_size
18 mv ${PROF} ${PROFD}/${PROF}.2
20 ASAN_OPTIONS=detect_odr_violation=0 ./snd -4
21 mv ${PROF} ${PROFD}/${PROF}.3
23 ASAN_OPTIONS=detect_odr_violation=0 ./snd -use_esmtp=false
24 mv ${PROF} ${PROFD}/${PROF}.4
26 llvm-profdata merge -sparse \
27 ${PROFD}/* \
28 -o smtp.profdata