| # Copyright 2020 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/python/python_host_test.gni") |
| import("//build/testing/environments.gni") |
| |
| if (is_host) { |
| python_host_test("time_sync_e2e_tests") { |
| main_source = "test/time_sync_e2e_tests.py" |
| extra_args = [ "-v" ] |
| |
| environments = [ |
| nuc_env, |
| { |
| 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 (target_cpu == "x64") { |
| environments += [ emu_env ] |
| } |
| } |
| } |
| |
| group("test") { |
| testonly = true |
| |
| deps = [ ":time_sync_e2e_tests($host_toolchain)" ] |
| } |