| // Copyright 2023 The ChromiumOS Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include <common-mk/testrunner.h> | |
| #include <mojo/core/embedder/embedder.h> | |
| // This test runner creates the platform2::TestRunner and initializes Mojo for | |
| // tests that require it. Mojo is not initialized by default. | |
| int main(int argc, char** argv) { | |
| auto runner = platform2::TestRunner(argc, argv); | |
| mojo::core::Init(); | |
| return runner.Run(); | |
| } |