blob: 324f2108d358355f62f5cd5b5cf0ef5c4fb63766 [file] [edit]
# Copyright 2019 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/bazel/bazel_test_suite.gni")
group("examples") {
testonly = true
deps = [
":tests",
"components",
"cowsay",
"diagnostics",
"drivers",
"fidl",
"fuzzers",
"hello_world",
"intl",
"power",
"rust",
"time",
]
}
group("tests") {
testonly = true
data_deps = [
# The hermetic tests.
":hermetic_tests",
# All other tests.
"drivers/driver_test_realm:non_hermetic_tests",
"fidl:tests",
"intl:tests",
]
}
if (is_fuchsia) {
group("hermetic_tests") {
testonly = true
deps = [
":bazel_target_tests",
"components:hermetic_tests",
"diagnostics:hermetic_tests",
"drivers:hermetic_tests",
"fidl:hermetic_tests",
"fuzzers:hermetic_tests",
"hello_world:hermetic_tests",
"power:hermetic_tests",
"rcu:hermetic_tests",
"rust:hermetic_tests",
"testing:hermetic_tests",
]
}
# The Bazel device tests, from the //examples:target_tests Bazel test_suite().
bazel_test_suite("bazel_target_tests") {
target_tests = [ "//examples:target_tests" ]
}
}
if (is_host) {
# The Bazel host tests, from the //examples:host_tests Bazel test_suite().
bazel_test_suite("host_tests") {
host_tests = [ "//examples:host_tests" ]
}
}