Re: [Cppunit-devel] Patch to ask user before exiting cppunit
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2002-04-25 19:03:44
|
I integrated the patch. Here is a slighty easier way to wait for enter (it's what we used in 1.6.2 TextTestRunner): std::cout << "Please press <RETURN> to exit" << std::endl; std::cin.get(); Oh, and I renamed the option to -w --wait, which I believe is more intuitive. Thanks, Baptiste. ----- Original Message ----- From: "Philippe Lavoie" <phi...@ca...> To: <cpp...@li...> Sent: Thursday, April 25, 2002 1:54 AM Subject: [Cppunit-devel] Patch to ask user before exiting cppunit Hi all, I created a patch to cppunit (cvs version) that allows one to specify -a (or --ask) to the DllPluginTesterd.exe program. The idea is that I've added DllPluginTesterD.exe as an external tool and with this option I get to see the output before the windows exits :) Sometimes just getting 1, is not enough to find out what the error is. The only thing it does is it asks you to press enter before it exits under normal conditions. Phil PS Man it's hard to find a way to implement 'press any key'. I have to specify 'press enter'. Stupid istream... |