View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011935CMakeCMakepublic2011-03-06 17:212015-07-08 08:57
ReporterHassan 
Assigned ToStephen Kelly 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformVisual Studio 9 2008OSWindows XPOS Version
Product VersionCMake 2.8.3 
Target VersionFixed in Version 
Summary0011935: CTest with --output-on-failure option
DescriptionWe are using CMake with CTest and we found an issue regarding CTEST_OUTPUT_ON_FAILURE or –output-on-failure option in CTest.

I added:
set(CTEST_OUTPUT_ON_FAILURE ON)
command in out CMakeLists.txt file for enabling our PRINTF's and getting more details about the failed test(as mentioned in the book), but this is not working.
Currently for every CMake build we manually add this option in Visusal Studio setting and then it's working fine.
I also tried:
add_test(NAME ${TName} COMMAND ${TEST_NAME} ${TName} --output_on_failure) but it's also not working.
Is this the right way or I am missing some thing.
I am working on Windows XP and using Visual Studio 9 2008.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0005977closedBill Hoffman Add VERBOSE_TESTING setting for make runs of CTest 

  Notes
(0025751)
Johan Björk (reporter)
2011-03-10 16:34
edited on: 2011-03-10 16:34

It seems to be an *environment* variable, and not a variable. It works when I set it as an environment var, but I'd like to make it default without setting any variables.

(0030377)
David Cole (manager)
2012-08-11 21:35

Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0039075)
Robert Maynard (manager)
2015-07-08 08:57

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-03-06 17:21 Hassan New Issue
2011-03-10 16:34 Johan Björk Note Added: 0025751
2011-03-10 16:34 Johan Björk Note Edited: 0025751
2012-08-11 21:35 David Cole Status new => backlog
2012-08-11 21:35 David Cole Note Added: 0030377
2015-02-26 15:25 Stephen Kelly Relationship added duplicate of 0005977
2015-02-26 15:25 Stephen Kelly Status backlog => resolved
2015-02-26 15:25 Stephen Kelly Resolution open => duplicate
2015-02-26 15:25 Stephen Kelly Assigned To => Stephen Kelly
2015-07-08 08:57 Robert Maynard Note Added: 0039075
2015-07-08 08:57 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team