blob: a0ba519f4bab9d41aeb706a5a4eb4a41a6f115f6 [file] [log] [blame]
# Copyright 2020 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/go/go_binary.gni")
import("//build/go/go_library.gni")
import("//build/go/toolchain.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
go_binary("puppet") {
gopackage = "go.fuchsia.dev/fuchsia/src/connectivity/network/netstack/inspect/validator"
deps = [
"//src/connectivity/network/netstack:netstack_lib",
"//src/diagnostics/validator/inspect/fidl:validate($go_toolchain)",
"//src/lib/component",
]
}
test_package("inspect-validator-test-go") {
deps = [
":puppet",
"//src/diagnostics/validator/inspect:validator_bin",
]
meta = [
{
path = rebase_path("meta/puppet.cmx")
dest = "puppet.cmx"
},
]
binaries = [
{
name = "puppet"
},
]
tests = [
{
name = "validator"
environments = [ emu_env ]
},
]
}
group("tests") {
testonly = true
deps = [ ":inspect-validator-test-go" ]
}