| delorie.com/archives/browse.cgi | search |
| 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 <dave DOT korn DOT cygwin AT gmail DOT com> |
| 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: | <Pine DOT NEB DOT 4 DOT 64 DOT 1201121808140 DOT 24276 AT cesium DOT clock DOT org> |
| In-Reply-To: | <Pine.NEB.4.64.1201121808140.24276@cesium.clock.org> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |