[cmake-developers] [CMake 0012033]: CMAKE_RUNTIME_OUTPUT_DIRECTORY ignored in the add_test() command.

Mantis Bug Tracker mantis at public.kitware.com
Thu Mar 31 09:45:25 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12033 
====================================================================== 
Reported By:                Patrick Spendrin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12033
Category:                   CTest
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-03-31 09:45 EDT
Last Modified:              2011-03-31 09:45 EDT
====================================================================== 
Summary:                    CMAKE_RUNTIME_OUTPUT_DIRECTORY ignored in the
add_test() command.
Description: 
see bug 9464 for description: I couldn't reopen the bug, so I'll add my findings
here:
Output got with the attached test file:
Test project R:/tmp/cmake_bug_9464/build
    Start 1: myfirsttest
Could not find executable myfirsttest
Looked in the following places:
myfirsttest
myfirsttest.exe
Release/myfirsttest
Release/myfirsttest.exe
Debug/myfirsttest
Debug/myfirsttest.exe
MinSizeRel/myfirsttest
MinSizeRel/myfirsttest.exe
RelWithDebInfo/myfirsttest
RelWithDebInfo/myfirsttest.exe
Deployment/myfirsttest
Deployment/myfirsttest.exe
Development/myfirsttest
Development/myfirsttest.exe
Unable to find executable: myfirsttest
1/1 Test http://public.kitware.com/Bug/view.php?id=1: myfirsttest
......................***Not Run   0.00 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   2.30 sec

The following tests FAILED:
          1 - myfirsttest (Not Run)
Errors while running CTest

Steps to Reproduce: 
on attached file:
mkdir build && cd build
cmake .. -G "NMake Makefiles" && nmake && nmake test
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-31 09:45 Patrick SpendrinNew Issue                                    
2011-03-31 09:45 Patrick SpendrinFile Added: CMakeLists.txt                    
======================================================================




More information about the cmake-developers mailing list