[cmake-developers] [CMake 0014801]: CTest: --interactive-debug-mode 0

Mantis Bug Tracker mantis at public.kitware.com
Mon Mar 10 05:17:13 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=14801 
====================================================================== 
Reported By:                Mathieu Malaterre
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14801
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-10 05:17 EDT
Last Modified:              2014-03-10 05:17 EDT
====================================================================== 
Summary:                    CTest: --interactive-debug-mode 0
Description: 
For some reason I cannot get ctest to run in non interactive debug mode, the
Windows Visual C++ debugger message box always appears when running tests during
my continuous dashboard.

this can be seen on openjpeg dashboard, where the test is flagged as timed-out:
http://my.cdash.org/testDetails.php?test=14010787&build=579601

You could try on your side:
ctest -R random.*encode --interactive-debug-mode 0 -V

I have also prepared a small examples to reproduce:

$ cat CMakeLists.txt 
cmake_minimum_required(VERSION 2.8)
project(heapcor)
add_executable(hc hc.cxx)
enable_testing()
add_test(NAME hc COMMAND hc)
$ cat hc.cxx 
int main()
{
  char * p = new char[10];
  for( int i = 0; i < 500; ++i ) p[i] = i;
  delete p;
  return 0;
}


just run and execute.

I am attaching the output of:

ctest --interactive-debug-mode 0 -VV --debug > my.log

OS: Windows Vista Pro 32bits / Visual Studio Express 2010 / CMake 2.8.12.2
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-10 05:17 Mathieu MalaterreNew Issue                                    
2014-03-10 05:17 Mathieu MalaterreFile Added: my.log                           
======================================================================



More information about the cmake-developers mailing list