blob: bceb25813ec116c79ce1b3cb50297ec64a1e98b9 [file] [log] [blame]
# 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/rust/rustc_library.gni")
import("//build/test/test_package.gni")
rustc_library("test_util") {
with_unit_tests = true
edition = "2018"
testonly = true
deps = [ "//third_party/rust_crates:lazy_static" ]
sources = [ "src/lib.rs" ]
}
unittest_package("rust_test_util_tests") {
deps = [ ":test_util_test" ]
tests = [
{
name = "test_util_lib_test"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
deps = [ ":rust_test_util_tests" ]
}