X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4F10503F.8010404@gmail.com> Date: Fri, 13 Jan 2012 15:39:43 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: trouble with cgreen test runner in cygwin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 13/01/2012 02:16, Matt wrote: > the test-runner discovers the tests correctly, but when it goes to run > them, it fails. this is because the CgreenTest* we fetch via dlsym() > appears to be corrupt. > > We'll reduce it to an even smaller, self-contained test case tomorrow. > If anyone has ideas/suggestions in the meantime, please let me know. Without having even looked at the code, here's one thing worth verifying: make absolutely certain that the pointer-to-function type you're dereferencing the pointer returned from dlsym() as has exactly the same calling convention as the function definitions do when you're compiling them into the DLL. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple