| # 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("//build/python/python_binary.gni") |
| import("//build/python/python_host_test.gni") |
| |
| python_binary("generate_pipeline_test_cml") { |
| main_source = "generate_pipeline_test_cml.py" |
| } |
| |
| if (is_host) { |
| python_host_test("generate_pipeline_test_cml_test") { |
| main_source = "generate_pipeline_test_cml_test.py" |
| sources = [ "generate_pipeline_test_cml.py" ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":generate_pipeline_test_cml_test($host_toolchain)" ] |
| } |