From 85720f0b28cffd18754aadd9748ac59a297c105b Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 18 Sep 2007 15:14:24 +0000 Subject: Increase the (arbitrary) upper bound on how long the benchmarks can run to 5 minutes (300 seconds). --- checks/check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checks') diff --git a/checks/check.cpp b/checks/check.cpp index a6074b685..f009372ee 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -63,7 +63,7 @@ int main(int argc, char* argv[]) if(opts.is_set("seconds")) { seconds = std::atof(opts.value("seconds").c_str()); - if((seconds < 0.1 || seconds > 30) && seconds != 0) + if(seconds && (seconds < 0.1 || seconds > (5 * 60))) { std::cout << "Invalid argument to --seconds\n"; return 2; -- cgit v1.2.3