blob: 6ad645fb472c0f87f519d2217634b3921e558f17 [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
import("//build/test.gni")
group("tests") {
testonly = true
deps = [ ":arch-tests($host_toolchain)" ]
}
if (is_host) {
test("arch-tests") {
sources = [
"bug-tests.cc",
"cpuid-basic-tests.cc",
"cpuid-corpus-tests.cc",
"fake-cpuid-tests.cc",
"fake-msr-tests.cc",
"lbr-tests.cc",
"nop-tests.cc",
"speculation-tests.cc",
]
deps = [
"//src/lib/fxl/test:gtest_main",
"//third_party/googletest:gtest",
"//zircon/kernel/lib/arch",
"//zircon/kernel/lib/arch/testing",
"//zircon/public/lib/zxc",
]
}
}