Add a 'testcov' target
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f0df878..592417a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,6 +76,13 @@
COMMAND tests/scripts/test-ref-configs.pl
)
+ADD_CUSTOM_TARGET(covtest
+ COMMAND make test
+ COMMAND programs/test/selftest
+ COMMAND cd tests && ./compat.sh
+ COMMAND cd tests && ./ssl-opt.sh
+ )
+
ADD_CUSTOM_TARGET(lcov
COMMAND lcov --capture --directory . -o polarssl.info
COMMAND genhtml --title PolarSSL --legend --no-branch-coverage -o ../../../Coverage polarssl.info