MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014766 | CMake | (No Category) | public | 2014-02-20 05:32 | 2014-10-06 10:32 |
Reporter | Mathieu Malaterre | ||||
Assigned To | Mathieu Malaterre | ||||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.12.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014766: CTest does not handle executable extension properly | ||||
Description | Here is a simple scenarion, toolchain target mingw32 compiler on a linux host. Steps: $ more CMakeLists.txt toolchain.cmake zurg.c :::::::::::::: CMakeLists.txt :::::::::::::: cmake_minimum_required(VERSION 2.8) project(wine_test C) add_executable(zurg zurg.c) enable_testing() add_test(zurg zurg) :::::::::::::: toolchain.cmake :::::::::::::: set(CMAKE_SYSTEM_NAME Windows) set(CMAKE_C_COMPILER i586-mingw32msvc-gcc) set(CMAKE_RC_COMPILER i586-mingw32msvc-windres) set(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc) :::::::::::::: zurg.c :::::::::::::: int main() { return 0; } Now build: $ mkdir bin32 $ cd bin32 $ cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake .. $ make $ make test Running tests... Test project /tmp/c/bin32 Start 1: zurg Could not find executable zurg Looked in the following places: zurg zurg Release/zurg Release/zurg Debug/zurg Debug/zurg MinSizeRel/zurg MinSizeRel/zurg RelWithDebInfo/zurg RelWithDebInfo/zurg Deployment/zurg Deployment/zurg Development/zurg Development/zurg Unable to find executable: zurg 1/1 Test #1: zurg .............................***Not Run 0.00 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 0.00 sec The following tests FAILED: 1 - zurg (Not Run) Errors while running CTest make: *** [test] Error 8 | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-02-20 05:32 | Mathieu Malaterre | New Issue | |||
2014-02-20 05:42 | Nils Gladitz | Note Added: 0035157 | |||
2014-02-20 05:48 | Mathieu Malaterre | Note Added: 0035158 | |||
2014-02-20 05:57 | Nils Gladitz | Note Added: 0035159 | |||
2014-02-20 08:03 | Brad King | Note Added: 0035160 | |||
2014-02-20 08:03 | Brad King | Status | new => resolved | ||
2014-02-20 08:03 | Brad King | Resolution | open => no change required | ||
2014-02-20 08:22 | Mathieu Malaterre | Assigned To | => Mathieu Malaterre | ||
2014-02-20 08:22 | Mathieu Malaterre | Note Added: 0035161 | |||
2014-02-20 08:22 | Mathieu Malaterre | Status | resolved => feedback | ||
2014-02-20 08:22 | Mathieu Malaterre | Resolution | no change required => reopened | ||
2014-02-20 08:58 | Brad King | Note Added: 0035162 | |||
2014-02-20 08:58 | Brad King | Status | feedback => resolved | ||
2014-02-20 08:58 | Brad King | Resolution | reopened => no change required | ||
2014-10-06 10:32 | Robert Maynard | Note Added: 0036912 | |||
2014-10-06 10:32 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|