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/test/launcher/test_launcher.h" | 5 #include "base/test/launcher/test_launcher.h" |
6 | 6 |
| 7 #include "base/at_exit.h" |
7 #include "base/bind.h" | 8 #include "base/bind.h" |
8 #include "base/test/launcher/unit_test_launcher.h" | 9 #include "base/test/launcher/unit_test_launcher.h" |
9 | 10 |
10 namespace { | 11 namespace { |
11 | 12 |
12 int DummyRunTestSuite(void) { | 13 int DummyRunTestSuite(void) { |
13 return -1; | 14 return -1; |
14 } | 15 } |
15 | 16 |
16 } // namespace | 17 } // namespace |
17 | 18 |
18 int main(int argc, char** argv) { | 19 int main(int argc, char** argv) { |
| 20 base::AtExitManager at_exit; |
19 return base::LaunchUnitTests(argc, argv, base::Bind(&DummyRunTestSuite)); | 21 return base::LaunchUnitTests(argc, argv, base::Bind(&DummyRunTestSuite)); |
20 } | 22 } |
OLD | NEW |