On Friday 18 February 2011, James Amundson wrote:
> Hi,
>
> Are there any CMake solutions for running tests in a cross-compiling
> environment? Right now I have a lovely test suite that runs over sixty
> different executables using the standard CMake and CTest setup. It works
> exactly as I want under Linux, but now I need to run it on a
> cross-compiling platform (in fact, two cross-compiling platforms: BG/P
> and Cray XT5). I don't have cmake compiled for the target platform, so I
> can't just run "ctest." Surely there must be other people with this
> problem, but this mornings Google searches aren't turning up anything
> for me.

When cmake is crosscompiling, it assumes that the executables it has built 
cannot be run on the build host.
CMake does not provide any special mechanisms to run the executables remote or 
in a VM or something.

Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to