X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,TW_SV X-Spam-Check-By: sourceware.org Date: Thu, 12 Jan 2012 18:16:52 -0800 (PST) From: Matt To: cygwin AT cygwin DOT com Subject: trouble with cgreen test runner in cygwin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 Hi gang, Long time no post :) We wrote a kind of "reflective" test runner for the cgreen unit testing framework, which uses dlopen() and dlsym(). We're getting a failure under Cygwin and could use some guidance on how to debug the issue. While we suspect it's related to this post, http://cygwin.com/ml/cygwin/2010-02/msg00109.html , we can't be sure. Steps: -install required cygwin packages: cmake, gcc4, g++4, make, subversion, etc -check out cgreen: svn co http://cgreen.svn.sourceforge.net/svnroot/cgreen/trunk/cgreen -cd cgreen && mkdir obj && cd obj && cmake .. -make -verify the tests pass: tests/test_cgreen -now try the test-runner: tools/cgreen-runner tests/cygcgreen_tests.dll 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. Thanks in advance! -- tangled strands of DNA explain the way that I behave. http://www.clock.org/~matt -- 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