From 6529ff0b6ab668c0bd23469f068b627ca05e2775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 31 Jan 2014 13:41:07 +0100 Subject: [PATCH] make: add a 'test-ref-configs' target --- CMakeLists.txt | 4 ++++ Makefile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f31abc35..c3ae81d9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,10 @@ ADD_CUSTOM_TARGET(apidoc COMMAND doxygen doxygen/polarssl.doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) +ADD_CUSTOM_TARGET(test-ref-config + COMMAND tests/scripts/test-ref-configs.pl + ) + ADD_CUSTOM_TARGET(memcheck COMMAND ctest -O memcheck.log -D ExperimentalMemCheck COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null diff --git a/Makefile b/Makefile index b73c990a3..1a1082a30 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,9 @@ clean: check: lib ( cd tests && $(MAKE) && $(MAKE) check ) +test-ref-configs: + tests/scripts/test-ref-configs.pl + apidoc: mkdir -p apidoc doxygen doxygen/polarssl.doxyfile