On 2013-05-23 14:32-0400 Brad King wrote:
On 05/23/2013 02:05 PM, Alan W. Irwin wrote:Would somebody be willing to give me a hand with implementing that test case? All that needs to be done is to collect the relevant code for setting up stdout from ctest.cxxCTest starts with a call to cmSystemTools::DoNotInheritStdPipes: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/ctest.cxx;hb=v2.8.10.2#l266 implemented here: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmSystemTools.cxx;hb=v2.8.10.2#l2121 by these commits: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f262298b http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9c3ffe24
@Brad: Thanks for your help! Those hints gave me all I needed to implement a simple test code consisting of 41 lines (mostly from DoNotInheritStdPipes) that builds (using MinGW/MSYS) and which works perfectly for wine-1.5.19 but which demonstrates the bash.exe redirection issue for wine-1.5.30. (I have attached that test code for those here who want to test for this redirection issue for the wine version of Windows). @Dave: In answer to your question about why I wanted to implement this simple test case, simple demonstrations of bugs are always better. Using code like what is attached to demonstrate the wine regression makes it easier for wine developers to work on this bug since they may not want to take the time to dig around in ctest source to see what Windows library calls are triggering the wine bug. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________
test.cxx.gz
Description: compressed simple test code which demonstrates the wine redirection issue
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers