Skip to content

Commit

Permalink
Merge branch '15-teach-app4test-wm-close'
Browse files Browse the repository at this point in the history
* 15-teach-app4test-wm-close:
  On windows - Disable '--launcher-timeout' test.  See #15
  • Loading branch information
jcfr committed Apr 8, 2012
2 parents 5d56295 + df0b995 commit 556ced0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Testing/Cpp/AppLauncherTest3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,17 @@ if(NOT rv)
endif()

# Since launcher-timeout < App4Test-timeout, file ${application}-timeout.txt should NOT exists
if(EXISTS ${application}-timeout.txt)
# Note: On windows, since out App4Test does NOT support the WM_CLOSE event, let's skip the test.
# See https://github.com/commontk/AppLauncher/issues/15
set(_exists)
set(_exists_msg " NOT")
if(WIN32)
set(_exists NOT)
set(_exists_msg)
endif()
if(${_exists} EXISTS ${application}-timeout.txt)
message(FATAL_ERROR "Test5d - Problem with flag --launcher-timeout. "
"File [${application}-timeout.txt] should NOT exist.")
"File [${application}-timeout.txt] should ${_exists_msg}exist.")
endif()


0 comments on commit 556ced0

Please sign in to comment.