diff --git a/lang/ruby/CMakeLists.txt b/lang/ruby/CMakeLists.txt new file mode 100644 index 0000000..ac4db6b --- /dev/null +++ b/lang/ruby/CMakeLists.txt @@ -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) +