~haggai-eran/unity-2d/rtl-rebased

« back to all changes in this revision

Viewing changes to launcher/tests/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Renato Araujo Oliveira Filho
  • Date: 2011-11-23 14:04:19 UTC
  • mfrom: (785.1.3 ctest)
  • Revision ID: tarmac-20111123140419-9jcbkrxvsjr28mz4
[tests] Fixed Cmake files to correct works with ctest.

Now you can run the tests from the build directory using:
 - ctest (check ctest --help for more details)
 - make test

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
            )
11
11
        set(_test_list "${_test_list};${_test}")
12
12
    endforeach(_test)
13
 
 
14
 
    add_custom_target(launcher_check COMMAND ${CMAKE_CTEST_COMMAND} --verbose
15
 
        DEPENDS ${_test_list})
16
 
    add_dependencies(check launcher_check)
17
13
endmacro(launcher_tests)
18
14
 
19
15
include_directories(
24
20
    ${QTGCONF_INCLUDE_DIRS}
25
21
    )
26
22
 
27
 
enable_testing()
28
 
 
29
23
launcher_tests(
30
24
    launcherviewtest
31
25
    )