summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleExclude/run.cmake.in
blob: d31d2e51b4afd67d4de40c20711f8a9c0b350521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set(t4_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t4\"")
exec_program("${t4_name}" RETURN_VALUE "t4_var")
message("T4 ${t4_name} resulted ${t4_var}")

set(t9_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t9\"")
exec_program("${t9_name}" RETURN_VALUE "t9_var")
message("T9 ${t9_name} resulted ${t9_var}")

if ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )
  message("Everything is good, Yoshimi won...")
else ()
  message(FATAL_ERROR "Yoshimi lost... The evil pink robots will take over the world")
endif ()