| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| import("//sdk/cts/build/cts.gni") |
| |
| if (is_host) { |
| cts_host_test("ffx_cts_test") { |
| binary_path = "$root_out_dir/ffx" |
| |
| # TODO(fxbug.dev/96506): Remove the config override when the CTS plugin is |
| # no longer experimental. |
| args = [ |
| "--config", |
| "cts.experimental=true", |
| "cts", |
| "run", |
| ] |
| deps = [ "//src/developer/ffx:ffx_bin" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":ffx_cts_test" ] |
| } |
| |
| sdk_molecule("test_sdks") { |
| testonly = true |
| deps = [ ":ffx_cts_test_sdk" ] |
| } |
| } |