| # 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/test/test_package.gni") |
| |
| executable("running_on_bootfs_test") { |
| testonly = true |
| sources = [ "running_on_bootfs_test.cc" ] |
| deps = [ |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/zxtest", |
| ] |
| } |
| |
| # Note: this test should end up in /boot, which means the cmx produced here is |
| # irrelevant, however, we don't allow bare tests in packages anymore, so the |
| # cmx production avoids needing a very specialized exception for this case. |
| unittest_package("bootfs_test") { |
| package_name = "bringup-bootfs-test" |
| deps = [ ":running_on_bootfs_test" ] |
| tests = [ |
| { |
| name = "running_on_bootfs_test" |
| }, |
| ] |
| } |