[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] How to test binaries or run CTest from a cmak

From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] How to test binaries or run CTest from a cmake project
Date: Tue, 15 Apr 2014 22:30:42 +1000

On 15 Apr 2014, at 21:40, Rashad M <address@hidden> wrote:

> Hi Tony,
> On Tue, Apr 15, 2014 at 12:28 PM, Tony Theodore <address@hidden> wrote:
> On 13 Apr 2014, at 05:30, Rashad M <address@hidden> wrote:
> > Hello,
> >
> > I am trying to build OTB library on mxe. So far I have sucessful building 
> > ossim, ITK, Geos, OpenThreads, Gdal. I got executables generated for these. 
> > But I am wondering is it possible to run ctest from mxe?. When running 
> > ctest obivously it executes those exe files and produce results. Does MXE 
> > could be used for this purpose?.
> I’m not too familiar with “ctest", can it separate the build and run stages? 
> It’s unlikely we’d ever add “wine” as a requirement, but some sort of option 
> to run tests would be possible in the future.
> I really dont want to use wine for this purpose atleast. What I think is 
> mingw32-ctest which could run some test for the genereated .exe file and 
> produces test results. In my case it can be images or text files. But I dont 
> know much about the mechanism to be used here. Without the possiblity of 
> ctest all the work to get otb cross compiles remains useless for me. 

If I’m following you correctly, you want to cross-build ctest and your project 
(OTB), copy to a windows machine and execute?

Are you asking if we can add ctest to MXE? If so, the answer is yes as it falls 
into the category of useful developer tools (like gdb and wget).

I don’t know anything about the mechanics of it though - I imagine you’d add 
something to the OTB build system to bundle the built tests up with the ctest 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]