[cmake-developers] [CMake 0013887]: CTEST_CUSTOM_POST_TEST doesn't allow command line arguments anymore

Mantis Bug Tracker mantis at public.kitware.com
Sat Feb 2 17:51:03 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13887 
====================================================================== 
Reported By:                don bright
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13887
Category:                   CTest
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-02 17:51 EST
Last Modified:              2013-02-02 17:51 EST
====================================================================== 
Summary:                    CTEST_CUSTOM_POST_TEST doesn't allow command line
arguments anymore
Description: 
CTEST_CUSTOM_POST_TEST used to allow the user to run a command with arguments 
passed to it. 

It doesn't allow command line arguments anymore.



Steps to Reproduce: 
Write a CTestCustom.cmake file that does this:

set(CTEST_CUSTOM_POST_TEST "echo hello")


It should actually print 'hello' after the tests are run.

If you use an older version of ctest, this will be fine. 
If you use a newer version, you will get an error when you run ctest. 

We are having issues with this with OpenSCAD:

https://github.com/openscad/openscad/issues/260

And a recent patch to cmake seems to be the cause

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6187876dea89618044e200808bcae75a18bd4043

Thanks


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-02 17:51 don bright     New Issue                                    
======================================================================




More information about the cmake-developers mailing list