This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] Executing testcases under wine


> I'm trying to run the GCC testsuite for the mingw target, on a i686- 
> darwin host. The cross compiler builds fine, and I have wine  
> installed, so I'd like testsuite executables, once compiled, to simply  
> run under wine (that means, instead of running "PR10431.exe", running  
> "wine PR10431.exe"). I've found a crude way to do this by patching my  
> system dejagnu config file (/usr/share/dejagnu/config/unix.exp):

I think the right way to handle this is to treat wine as a simulator.
Take a look at some of the existing dejagnu board definitions to see how
to do this.  Perhaps something like:

  set_board_info sim xt-run

Cheers, Ben


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]