diff options
author | lloyd <[email protected]> | 2007-09-18 15:14:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-09-18 15:14:24 +0000 |
commit | 85720f0b28cffd18754aadd9748ac59a297c105b (patch) | |
tree | 0b29b3a8ea44aa1049774da3441823194f43a24f /checks/check.cpp | |
parent | 0d2d18b2d07879467ff83693d809872160cac0d9 (diff) |
Increase the (arbitrary) upper bound on how long the benchmarks can run to
5 minutes (300 seconds).
Diffstat (limited to 'checks/check.cpp')
-rw-r--r-- | checks/check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |