blob: a34c30ff4422e656bf80345868951d49f0dad942 [file] [edit]
# Copyright 2026 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/testing/host_test_data.gni")
if (is_host) {
python_binary("list_host_python_unittests") {
# Unbuffer so output can be piped to other programs nicely.
unbuffered_output = true
main_source = "list_host_python_unittests.py"
output_name = "list_host_python_unittests.pyz"
sources = [ "list_host_python_unittests.py" ]
}
host_test_data("list_host_python_unittests_data") {
sources = [ "$target_out_dir/list_host_python_unittests.pyz" ]
outputs = [ "$target_out_dir/test_data/list_host_python_unittests.pyz" ]
deps = [ ":list_host_python_unittests" ]
}
}