make: add a 'test-ref-configs' target

This commit is contained in:
Manuel Pégourié-Gonnard 2014-01-31 13:41:07 +01:00
parent d75d7cf844
commit 6529ff0b6a
2 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,10 @@ ADD_CUSTOM_TARGET(apidoc
COMMAND doxygen doxygen/polarssl.doxyfile COMMAND doxygen doxygen/polarssl.doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
ADD_CUSTOM_TARGET(test-ref-config
COMMAND tests/scripts/test-ref-configs.pl
)
ADD_CUSTOM_TARGET(memcheck ADD_CUSTOM_TARGET(memcheck
COMMAND ctest -O memcheck.log -D ExperimentalMemCheck COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null

View File

@ -52,6 +52,9 @@ clean:
check: lib check: lib
( cd tests && $(MAKE) && $(MAKE) check ) ( cd tests && $(MAKE) && $(MAKE) check )
test-ref-configs:
tests/scripts/test-ref-configs.pl
apidoc: apidoc:
mkdir -p apidoc mkdir -p apidoc
doxygen doxygen/polarssl.doxyfile doxygen doxygen/polarssl.doxyfile