From 5f30b37fd9399d12edee96890c8451baf9e77f43 Mon Sep 17 00:00:00 2001 From: "Sunrim KIM (keen)" <3han5chou7@gmail.com> Date: Tue, 22 Jul 2014 21:33:03 +0900 Subject: [PATCH] add custom target `test-contrib` and make `make test` runs that --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b2929567..1d714658 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,11 +40,14 @@ include(tools/CMakeLists.txt) add_custom_target(run bin/picrin DEPENDS repl) # $ make test -add_custom_target(test DEPENDS test-r7rs) +add_custom_target(test DEPENDS test-r7rs test-contribs) # $ make test-r7rs add_custom_target(test-r7rs bin/picrin ${PROJECT_SOURCE_DIR}/t/r7rs-tests.scm DEPENDS repl) +# $ make test-contribs +add_custom_target(test-contribs DEPENDS ${CONTRIB_TESTS}) + # $ make tak add_custom_target(tak bin/picrin ${PROJECT_SOURCE_DIR}/etc/tak.scm DEPENDS repl)