blob: f9815e8e022513f5c2c195048dd942180f6adb0a [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") {
executable(target_name) {
forward_variables_from(invoker, [ "visibility" ])
forward_variables_from(invoker, "*")
output_dir = "$root_out_dir/tests/cpp"
testonly = true
}
}