Re: Some shortcomings in gtestutils

Il Thu, 21 Feb 2013 12:31:33 +0000 Simon McVittie <simon mcvittie collabora co uk> scrisse:

On 21/02/13 11:42, Nicola Fontana wrote:
* There is no way to do a make check while cross-compiling, by
  using wine for example.

If you're on a Linux distribution whose Wine packaging sets up
binfmt_misc to run Windows executables through Wine (Debian does), then
this works:

    chmod +x notepad.exe

I was thinking more along the lines of providing out-of-box
support from gtester, such as:

gtester --launcher=wine mytest

and if that works, then in principle so does 'make check'. In practice
it probably won't, until you apply suitable workarounds (like scattering
$(EXEEXT) throughout the regression tests).

Could you elaborate on why do you think it probably wont work?
I thought binfmt was a viable work-around.


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