| # Copyright 2021 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/dart/test.gni") |
| import("//build/testing/environments.gni") |
| |
| dart_test("diagnostics_services_running") { |
| sources = [ "diagnostics_services_running_test.dart" ] |
| |
| deps = [ |
| "//sdk/testing/sl4f/client", |
| "//third_party/dart-pkg/pub/test", |
| ] |
| |
| environments = [ |
| { |
| dimensions = { |
| device_type = "Astro" |
| } |
| }, |
| ] |
| |
| # Runs on "main" builders (try and ci) in QEMU environments, but only on x64, |
| # as we don't currently support Dart on arm64 hosts. |
| if (is_host && target_cpu == "x64") { |
| environments += [ emu_env ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| |
| deps = [ ":diagnostics_services_running($host_toolchain)" ] |
| } |