| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0012033 | CMake | CTest | public | 2011-03-31 09:45 | 2011-03-31 11:12 | ||||
| Reporter | Patrick Spendrin | ||||||||
| Assigned To | Brad King | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | Windows | OS | Windows 7 | OS Version | |||||
| Product Version | CMake 2.8.4 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0012033: 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 #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 | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0025984) Brad King (manager) 2011-03-31 11:12 |
See command documentation here: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:add_test [^] The raw add_test() command takes your commands verbatim. The add_test(NAME) signature handles the target names: add_test(NAME myfirsttest COMMAND myfirsttest) |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-03-31 09:45 | Patrick Spendrin | New Issue | |
| 2011-03-31 09:45 | Patrick Spendrin | File Added: CMakeLists.txt | |
| 2011-03-31 11:12 | Brad King | Note Added: 0025984 | |
| 2011-03-31 11:12 | Brad King | Status | new => closed |
| 2011-03-31 11:12 | Brad King | Assigned To | => Brad King |
| 2011-03-31 11:12 | Brad King | Resolution | open => no change required |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |