This source file includes following definitions.
- RunTestSuite
- main
#include <algorithm>
#include "base/sys_info.h"
#include "chrome/test/base/chrome_test_launcher.h"
#include "chrome/test/base/chrome_test_suite.h"
class ChromeBrowserTestSuiteRunner : public ChromeTestSuiteRunner {
public:
virtual int RunTestSuite(int argc, char** argv) OVERRIDE {
return ChromeTestSuite(argc, argv).Run();
}
};
int main(int argc, char** argv) {
int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
ChromeBrowserTestSuiteRunner runner;
return LaunchChromeTests(default_jobs, &runner, argc, argv);
}