add custom target `test-contrib` and make `make test` runs that

This commit is contained in:
Sunrim KIM (keen) 2014-07-22 21:33:03 +09:00
parent ec92cabfdc
commit 5f30b37fd9
1 changed files with 4 additions and 1 deletions

View File

@ -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)