Implemented wait-for-keypress option

This commit is contained in:
Phil Nash committed 2017-08-15 14:12:11 +01:00
1 parent 8f41bdb92d
commit 70e4af9d44
4 files changed
+55 -17

No files matched your search

+3 -1
View File
@@ -45,7 +45,8 @@ namespace Catch {
warnings( WarnAbout::Nothing ),
showDurations( ShowDurations::DefaultForReporter ),
runOrder( RunTests::InDeclarationOrder ),
useColour( UseColour::Auto )
useColour( UseColour::Auto ),
waitForKeypress( WaitForKeypress::Never )
{}
bool listTests;
@@ -70,6 +71,7 @@ namespace Catch {
ShowDurations::OrNot showDurations;
RunTests::InWhatOrder runOrder;
UseColour::YesOrNo useColour;
WaitForKeypress::When waitForKeypress;
std::string outputFilename;
std::string name;