# 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) { | |
output_dir = "$root_out_dir/tests/cpp" | |
forward_variables_from(invoker, "*") | |
testonly = true | |
} | |
} |