make test now automatically runs the ruby unit tests (forgot to commit new CMakeLists)
This commit is contained in:
parent
98375ec945
commit
f89bb28543
1 changed files with 8 additions and 0 deletions
8
lang/ruby/CMakeLists.txt
Normal file
8
lang/ruby/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
MACRO(CREATE_CHECK_RUBY NAME)
|
||||||
|
ADD_TEST(${NAME} bash -c "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src/stasis ruby1.9.1 -I ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${NAME}")
|
||||||
|
ENDMACRO(CREATE_CHECK_RUBY)
|
||||||
|
|
||||||
|
CREATE_CHECK_RUBY(stasis/test/tc_string.rb)
|
||||||
|
CREATE_CHECK_RUBY(stasis/test/tc_iterator.rb)
|
||||||
|
CREATE_CHECK_RUBY(stasis/test/tc_hash.rb)
|
||||||
|
|
Loading…
Reference in a new issue