blob: 55b1f07c6d14f390e80c92350ea012af5cb665a2 [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.
source_set("tests") {
# TODO: testonly = true
cflags = [ "-fno-builtin" ]
sources = [
"alloc_checker_tests.cc",
"benchmarks.cc",
"bits_tests.cc",
"brwlock_tests.cc",
"cache_tests.cc",
"clock_tests.cc",
"dpc_tests.cc",
"event_tests.cc",
"fibo.cc",
"job_tests.cc",
"ktl_type_traits_tests.cc",
"lock_dep_tests.cc",
"mem_tests.cc",
"mmu_tests.cc",
"mp_hotplug_tests.cc",
"mutex_spin_time_tests.cc",
"pi_tests.cc",
"popcount.cc",
"pow2_tests.cc",
"preempt_disable_tests.cc",
"printf_tests.cc",
"resource_tests.cc",
"sleep_tests.cc",
"string_tests.cc",
"sync_ipi_tests.cc",
"tests.cc",
"thread_dispatcher_tests.cc",
"thread_tests.cc",
"timer_tests.cc",
"uart_tests.cc",
"unittest_tests.cc",
]
deps = [
"$zx/kernel/lib/console",
"$zx/kernel/lib/crypto",
"$zx/kernel/lib/debuglog",
"$zx/kernel/lib/fbl",
"$zx/kernel/lib/unittest",
"$zx/kernel/object",
"$zx/system/ulib/affine",
"$zx/system/ulib/zx",
]
public_configs = [ "$zx/public/gn/config:Wno-unused-function" ]
}