Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9115 for code/branches/testing


Ignore:
Timestamp:
Apr 22, 2012, 10:41:02 AM (13 years ago)
Author:
landauf
Message:

removed sample tests

Location:
code/branches/testing/test
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/testing/test/CMakeLists.txt

    r9114 r9115  
    22
    33ADD_CUSTOM_TARGET(test COMMAND ${CMAKE_CTEST_COMMAND} "$(ARGS)" COMMENT "Running tests")
    4 
    5 ADD_EXECUTABLE(sample_test EXCLUDE_FROM_ALL SampleTest.cc)
    6 ADD_DEPENDENCIES(test sample_test)
    7 
    8 ADD_TEST(sample_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sample_test)
    9 
    10 
    11 IF(Boost_UNIT_TEST_FRAMEWORK_FOUND)
    12   INCLUDE_DIRECTORIES(
    13     ${Boost_INCLUDE_DIRS}
    14   )
    15   ADD_EXECUTABLE(boost_test EXCLUDE_FROM_ALL BoostTest.cc)
    16   TARGET_LINK_LIBRARIES(boost_test ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
    17   ADD_DEPENDENCIES(test boost_test)
    18 
    19   ADD_TEST(boost_test_sample ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/boost_test)
    20 ENDIF()
    21 
    22 INCLUDE_DIRECTORIES(
    23   ../src/external/gtest/include
    24   ../src/external/gmock/include
    25 )
    26 
    27 ADD_EXECUTABLE(
    28     gtest_sample
    29     EXCLUDE_FROM_ALL
    30     ${GTEST_MAIN}
    31     gtest_samples/sample1.cc
    32     gtest_samples/sample1_unittest.cc
    33     gtest_samples/sample2.cc
    34     gtest_samples/sample2_unittest.cc
    35     gtest_samples/sample3_unittest.cc
    36     gtest_samples/sample4.cc
    37     gtest_samples/sample4_unittest.cc
    38 )
    39 TARGET_LINK_LIBRARIES(gtest_sample gtest_orxonox)
    40 ADD_DEPENDENCIES(test gtest_sample)
    41 
    42 ADD_TEST(gtest_sample ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/gtest_sample)
    43 
    44 #-----------------
    454
    465CONFIGURE_FILE("CTestCustom.cmake" "CTestCustom.cmake" @ONLY)
     
    5110  ../src/orxonox
    5211  ../src/modules
     12  ../src/external/gtest/include
     13  ../src/external/gmock/include
    5314  ${CMAKE_BINARY_DIR}/src
    5415  ${Boost_INCLUDE_DIRS}
Note: See TracChangeset for help on using the changeset viewer.