[CMake] CTest in a cross-compiling environment

James Amundson amundson at fnal.gov
Fri Feb 18 10:36:27 EST 2011


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.

Thanks for any help,
Jim Amundson

P.S. The tests themselves are either Boost Test executables or python 
scripts to be run with nose. Running the tests themselves shouldn't 
present any problem.


More information about the CMake mailing list