The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13661 
====================================================================== 
Reported By:                Kay-Uwe (Kiwi) Lorenz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13661
Category:                   CTest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-11-08 06:24 EST
Last Modified:              2012-11-08 06:24 EST
====================================================================== 
Summary:                    If CTest terminates via abort() , it displays a
message box waiting for user input
Description: 
We use ctest in a fully automated non-interactive environment. 

We now experienced ctest aborting in an unusual way using the "abort()"
system call.  This results in a message box waiting for the user 
pressing "OK".  This is not the expected behaviour of a non-interactive program.

Default behaviour on windows of "abort()" is to display a message box 

   ---------------------------
   Microsoft Visual C++ Runtime Library
   ---------------------------
   Runtime Error!

   Program: C:\Workspace\MyApp\Release\MyApp.exe

   abnormal program termination

   ---------------------------
   OK   
   ---------------------------

And additionally the program exits with status code 3.

I would expect ctest only to stop with status code 3 without displaying this
annoying msg-box.

See
http://stackoverflow.com/questions/9718695/how-can-i-supress-all-error-dialogs-when-a-process-crashes-i-only-want-it-to-cr
and http://msdn.microsoft.com/en-us/library/e631wekh.aspx for solution.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-08 06:24 Kay-Uwe (Kiwi) LorenzNew Issue                                 
  
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to