OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/basictypes.h" | |
6 #include "base/bind.h" | 5 #include "base/bind.h" |
7 #include "base/compiler_specific.h" | |
8 #include "base/test/launcher/unit_test_launcher.h" | |
9 #include "base/test/test_suite.h" | 6 #include "base/test/test_suite.h" |
10 | 7 |
| 8 // Don't use the multiprocess test harness. This test suite is fast enough and |
| 9 // it makes the output more difficult to read. |
11 int main(int argc, char** argv) { | 10 int main(int argc, char** argv) { |
12 base::TestSuite test_suite(argc, argv); | 11 base::TestSuite test_suite(argc, argv); |
13 return base::LaunchUnitTests( | 12 return test_suite.Run(); |
14 argc, argv, base::Bind(&base::TestSuite::Run, | |
15 base::Unretained(&test_suite))); | |
16 } | 13 } |
OLD | NEW |