This is the mail archive of the
mailing list for the Cygwin project.
trouble with cgreen test runner in cygwin
- From: Matt <matt at use dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 12 Jan 2012 18:16:52 -0800 (PST)
- Subject: trouble with cgreen test runner in cygwin
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,
we can't be sure.
-install required cygwin packages: cmake, gcc4, g++4, make, subversion,
-check out cgreen: svn co
-cd cgreen && mkdir obj && cd obj && cmake ..
-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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple