]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove openssl header files from code coverage report
authorJouni Malinen <jouni@codeaurora.org>
Tue, 6 Aug 2019 10:21:56 +0000 (13:21 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 6 Aug 2019 10:21:56 +0000 (13:21 +0300)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/vm/combine-codecov.sh

index af44aefe13e08f6c60e28b3424e9ebbb03c05951..309125f22b7bfa54489096f3c163c42fb800e18d 100755 (executable)
@@ -19,6 +19,8 @@ done
 lcov $args -o $LOGDIR/combined.info > $LOGDIR/combined-lcov.log 2>&1
 cat $LOGDIR/combined.info |
     sed "/^TN:$/{N;s/TN:\n\(SF:.*\/bits\/byteswap.h$\)/\1/};/^SF:.*\/bits\/byteswap.h$/,/^end_of_record$/d" |
+    sed "/^TN:$/{N;s/TN:\n\(SF:.*\/openssl\/x509.h$\)/\1/};/^SF:.*\/openssl\/x509.h$/,/^end_of_record$/d" |
+    sed "/^TN:$/{N;s/TN:\n\(SF:.*\/openssl\/x509v3.h$\)/\1/};/^SF:.*\/openssl\/x509v3.h$/,/^end_of_record$/d" |
     sed "/^TN:$/{N;s/TN:\n\(SF:.*\/common\/wpa_ctrl.c$\)/\1/};/^SF:.*\/common\/wpa_ctrl.c$/,/^end_of_record$/d" |
     sed "/^TN:$/{N;s/TN:\n\(SF:.*\/common\/cli.c$\)/\1/};/^SF:.*\/common\/cli.c$/,/^end_of_record$/d" |
     sed "/^TN:$/{N;s/TN:\n\(SF:.*\/utils\/edit.c$\)/\1/};/^SF:.*\/utils\/edit.c$/,/^end_of_record$/d" |