| # Copyright 2024 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/components.gni") |
| import("//build/test.gni") |
| |
| test("e1000_test") { |
| output_name = "e1000-test" |
| testonly = true |
| sources = [ |
| "e1000_tests.cc", |
| "fake_e1000_api.cc", |
| "fake_mmio.cc", |
| ] |
| |
| deps = [ |
| "//sdk/lib/async_patterns/testing/cpp:cpp", |
| "//sdk/lib/component/outgoing/cpp", |
| "//sdk/lib/driver/testing/cpp:gtest_fixture", |
| "//src/devices/pci/testing:pci-protocol-fake", |
| "//src/lib/fxl/test:gtest_main", |
| "//src/lib/testing/loop_fixture", |
| "//src/lib/testing/predicates", |
| "//zircon/third_party/dev/ethernet/e1000:e1000_core_test", |
| ] |
| } |
| |
| fuchsia_unittest_package("e1000-test") { |
| deps = [ ":e1000_test" ] |
| } |