blob: c05e7c8ebdf1ba2218e209e7ed0634963bd717f3 [file] [log] [blame]
# Copyright 2018 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.
# This declares a test executable.
#
# The parameters are precisely those of an `executable`, along with
#
#
template("test") {
forward_variables_from(invoker, [ "visibility" ])
executable(target_name) {
output_dir = "$root_out_dir/tests/cpp"
forward_variables_from(invoker, "*")
testonly = true
}
}