Index: tools/gn/run_all_unittests.cc |
diff --git a/ui/v2/src/v2_unittest.cc b/tools/gn/run_all_unittests.cc |
similarity index 55% |
copy from ui/v2/src/v2_unittest.cc |
copy to tools/gn/run_all_unittests.cc |
index 0e6cdb72e7754b45902240d37eacff028f0d07a1..edd80fed5d8196c90883d62095157c9fc0ba3307 100644 |
--- a/ui/v2/src/v2_unittest.cc |
+++ b/tools/gn/run_all_unittests.cc |
@@ -2,15 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/basictypes.h" |
#include "base/bind.h" |
-#include "base/compiler_specific.h" |
-#include "base/test/launcher/unit_test_launcher.h" |
#include "base/test/test_suite.h" |
+// Don't use the multiprocess test harness. This test suite is fast enough and |
+// it makes the output more difficult to read. |
int main(int argc, char** argv) { |
base::TestSuite test_suite(argc, argv); |
- return base::LaunchUnitTests( |
- argc, argv, base::Bind(&base::TestSuite::Run, |
- base::Unretained(&test_suite))); |
+ return test_suite.Run(); |
} |