| # 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. |
| |
| import("//build/test/test_package.gni") |
| |
| group("test") { |
| testonly = true |
| deps = [ |
| ":deprecated_timezone_unit_tests", |
| ":timezone_tests", |
| ] |
| } |
| |
| executable("deprecated_timezone_unit_tests") { |
| testonly = true |
| |
| output_name = "deprecated_timezone_unit_tests" |
| |
| sources = [ "deprecated_timezone_unit_test.cc" ] |
| |
| deps = [ |
| "//garnet/bin/timezone:lib", |
| "//garnet/public/lib/gtest", |
| "//sdk/lib/sys/cpp/testing:unit", |
| "//src/lib/fxl/test:gtest_main", |
| ] |
| } |
| |
| test_package("timezone_tests") { |
| deps = [ ":deprecated_timezone_unit_tests" ] |
| |
| resources = [ |
| { |
| path = rebase_path("//third_party/icu/common/icudtl.dat") |
| dest = "icudtl.dat" |
| }, |
| ] |
| |
| tests = [ |
| { |
| name = "deprecated_timezone_unit_tests" |
| log_settings = { |
| max_severity = "ERROR" |
| } |
| }, |
| ] |
| } |