libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] tests: don't use assert/abort on MSVC as they are interactiv


From: Peter Rosin
Subject: Re: [PATCH] tests: don't use assert/abort on MSVC as they are interactive.
Date: Wed, 20 Oct 2010 08:31:44 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4

Den 2010-10-05 13:33 skrev Peter Rosin:
> Den 2010-09-30 09:44 skrev Peter Rosin:
>> Maybe the shopt isn't needed after all.  If the SetErrorMode call checks
>> if the SEM_FAILCRITICALERRORS is already set, that could be used to
>> determine if the CREATE_DEFAULT_ERROR_MODE flag should be added in
>> spawn_guts.  Then you could start an MSYS process with a custom error
>> mode, and the error mode would be inherited.  Hopefully anyway, I might
>> easily have missed something...
> 
> I have implemented exactly that and just posted this to the MinGW patch
> tracker:
> http://sourceforge.net/tracker/index.php?func=detail&aid=3081421&group_id=2435&atid=302435

The silence is deafening.  I wonder if I should have been more explicit
about the implications of this patch?  Let me spell it out, I can run
the libtool testsuite on MSYS without having to dismiss a single
dialog, independent of which compiler I'm using.  All tests are non-
interactive if you patch and start MSYS as described in the above
tracker.  If you want the dialogs, then simply start MSYS as you have
always done and it will behave as it has always done.  I find the patch
really nice!

Chuck, have you looked at this?

Cheers,
Peter



reply via email to

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