summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestMissingDependsExe/CMakeLists.txt
blob: 9826da661a1844f2e531786b86301de1dbb21c63 (plain)
1
2
3
4
5
6
7
8
9
10
cmake_minimum_required(VERSION 2.8.12)

project(CTestTestMissingDependsExe)

enable_testing()

add_test(test1 ${CMAKE_COMMAND} -E echo test)
add_test(test2 non-existent-command)

set_tests_properties(test1 PROPERTIES DEPENDS test2)