This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] Executing testcases under wine
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Thu, 30 Jul 2009 20:38:22 +1000
- Subject: Re: [testsuite] Executing testcases under wine
- References: <63F8541C-C441-4781-AE69-8579AAADB0A4@gmail.com>
> 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