         threshold = huge_threshold;
     else if (val == "epic")
         threshold = epic_threshold;
+    else if (val == "max")
+        threshold = max_threshold;
     else
     {
         std::cerr << "invalid test size \"" << val << "\"" << std::endl;

        : status(status), name(u.name)
    { }

    TestResult(const TestStatus status, const UnitTest& u, const unittest::UnitTestException& e)
        : status(status), name(u.name), message(e.message)
    { }

    bool operator<(const TestResult& tr) const


void usage(int argc, char** argv)
{
    std::string indent = "  ";

    std::cout << "Example Usage:\n";
    std::cout << indent << argv[0] << "\n";
    std::cout << indent << argv[0] << " TestName1 [TestName2 ...] \n";
    std::cout << indent << argv[0] << " PartialTestName1* [PartialTestName2* ...] \n";
    std::cout << indent << argv[0] << " --device=1\n";
    std::cout << indent << argv[0] << " --sizes={tiny,small,medium,default,large,huge,epic,max}\n";
    std::cout << indent << argv[0] << " --verbose or --concise\n";
    std::cout << indent << argv[0] << " --list\n";
    std::cout << indent << argv[0] << " --help\n";
    std::cout << "\n";
    std::cout << "Options:\n";
    std::cout << indent << "The sizes option determines which input sizes are tested.\n";
    std::cout << indent << indent << "--sizes=tiny    tests sizes up to " << tiny_threshold    << "\n";
    std::cout << indent << indent << "--sizes=small   tests sizes up to " << small_threshold   << "\n";
    std::cout << indent << indent << "--sizes=medium  tests sizes up to " << medium_threshold  << "\n";
    std::cout << indent << indent << "--sizes=default tests sizes up to " << default_threshold << " (0.1 GB memory)\n";
    std::cout << indent << indent << "--sizes=large   tests sizes up to " << large_threshold   << " (0.5 GB memory)\n";
    std::cout << indent << indent << "--sizes=huge    tests sizes up to " << huge_threshold    << " (1.5 GB memory)\n";
    std::cout << indent << indent << "--sizes=epic    tests sizes up to " << epic_threshold    << " (3.0 GB memory)\n";
    std::cout << indent << indent << "--sizes=max     tests all available sizes\n";
}

void list_devices(void)
