2009/11/9 Dave Korn <[email protected]>:
> 徐持恒 wrote:
>
>> Finally, I found, that, to run test, you must first install guile, autogen,
>> tck/tk, expect, dejagnu.
>> In Msys+MinGW and Cygwin environments, these tools are missing or outdated.
>
> The ones in the cygwin distro may be outdated, but they work just fine for
> running "make check". The only problem is you can't use "-j" with "make
> check", but everything else works OK. (Also you can get by without autogen
> and guile.)
>
>> I spend a lot of time to have the latest versions of these packages to be
>> build and installed in Cygwin, with some patchs applied of course.
>> Sometimes, I even edit configure.ac file, and run "autoreconf" with the
>> newest version of autoconf, automake, libtool installed. For expect-5.43.0,
>> it is even necessary for Cygwin to masquerade as a linux host by specifing
>> "--host=i686-pc-linux", thus the configure script can run without a
>> complain.
>
> No, it is not only not "necessary", it is completely incorrect. Tricking
> configure about what system it is running on will simply make it do the wrong
> things and cause it to build an executable that does the wrong things and
> doesn't work.
>
>> Having all these tools installed, I found, most of the test results of "make
>> check" is "fail" in Cygwin environment.
>
> See?
>
>> I'm very disappointed with this.
>
> Shouldn't have given false information to configure then, sorry. Use the
> standard packages, they ought to work for you too.
>
> As for MinGW testing, I think the people who work on it do indeed use the
> Cygwin tools from within MSYS shell to run the tests, but I don't know how
> exactly they set it up. You might get a quicker answer if you asked on the
> mingw list.
>
> cheers,
> DaveK
>
>
Hello,
I use testsuite quite regularly and I use cygwin shell with default
packages for dejagnu installed.
The setup of it is just default. I don't modify anything special. Just
install and use.
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination