From: <kk...@us...> - 2008-10-06 13:27:22
|
Revision: 1072 http://omc.svn.sourceforge.net/omc/?rev=1072&view=rev Author: kkaempf Date: 2008-10-06 12:58:25 +0000 (Mon, 06 Oct 2008) Log Message: ----------- - enable testing with CTest - make subdir name consistent with swig/python/tests Modified Paths: -------------- cmpi-bindings/trunk/CMakeLists.txt cmpi-bindings/trunk/swig/ruby/CMakeLists.txt Added Paths: ----------- cmpi-bindings/trunk/swig/ruby/tests/ cmpi-bindings/trunk/swig/ruby/tests/CMakeLists.txt Removed Paths: ------------- cmpi-bindings/trunk/swig/ruby/test/ Modified: cmpi-bindings/trunk/CMakeLists.txt =================================================================== --- cmpi-bindings/trunk/CMakeLists.txt 2008-10-06 12:55:45 UTC (rev 1071) +++ cmpi-bindings/trunk/CMakeLists.txt 2008-10-06 12:58:25 UTC (rev 1072) @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 2.4) +include(CTest) enable_testing() # # cmake2.6: backward compatibility to cmake 2.4 Modified: cmpi-bindings/trunk/swig/ruby/CMakeLists.txt =================================================================== --- cmpi-bindings/trunk/swig/ruby/CMakeLists.txt 2008-10-06 12:55:45 UTC (rev 1071) +++ cmpi-bindings/trunk/swig/ruby/CMakeLists.txt 2008-10-06 12:58:25 UTC (rev 1072) @@ -2,6 +2,9 @@ # CMakeLists.txt for cmpi-bindings/swig/ruby # +enable_testing() +ADD_SUBDIRECTORY(tests) + EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print Config::CONFIG['vendorarchdir']" OUTPUT_VARIABLE RUBY_ARCH_DIR) EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print Config::CONFIG['vendorlibdir']" OUTPUT_VARIABLE RUBY_LIB_DIR) Property changes on: cmpi-bindings/trunk/swig/ruby/tests ___________________________________________________________________ Added: svn:mergeinfo + Added: cmpi-bindings/trunk/swig/ruby/tests/CMakeLists.txt =================================================================== --- cmpi-bindings/trunk/swig/ruby/tests/CMakeLists.txt (rev 0) +++ cmpi-bindings/trunk/swig/ruby/tests/CMakeLists.txt 2008-10-06 12:58:25 UTC (rev 1072) @@ -0,0 +1,6 @@ +# +# CMakeLists.txt for cmpi-bindings/swig/ruby/test +# +ENABLE_TESTING() +ADD_TEST(bindings_ruby_loading ruby ${CMAKE_CURRENT_SOURCE_DIR}/loading.rb ) + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |