1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/functional/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h"
8 #include "chrome/install_static/test/scoped_install_details.h"
10 int main(int argc, char** argv) {
11 install_static::ScopedInstallDetails scoped_install_details;
13 base::TestSuite test_suite(argc, argv);
15 // Since these tests will mutate machine state, they will likely interfere
16 // with each other if they run in parallel. Therefore, run the tests serially.
17 return base::LaunchUnitTestsSerially(
19 base::BindOnce(&base::TestSuite::Run, base::Unretained(&test_suite)));