blob: af4fdc9c5f3c35d0c7f273dd370f05137c40cd04 [file] [log] [blame]
# Copyright 2019 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.gni")
import("//build/testing/bootfs_test.gni")
test("channel-fatal") {
output_name = "channel-fatal-test"
if (is_fuchsia) {
configs += [ "//build/unification/config:zircon-migrated" ]
}
if (is_fuchsia) {
fdio_config = [ "//build/config/fuchsia:fdio_config" ]
if (configs + fdio_config - fdio_config != configs) {
configs -= fdio_config
}
}
sources = [ "channel-fatal-test.cc" ]
deps = [
"//sdk/lib/fdio",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/test-utils",
"//zircon/system/ulib/vdso-code-header",
]
}
bootfs_test("channel-fatal-bootfs-test") {
name = "channel-fatal-test"
deps = [ ":channel-fatal" ]
}