blob: b7e2d226a25fb8dd45250e7944e6d4e506f1a24d [file] [log] [blame]
# Copyright 2022 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/python/python_host_test.gni")
import("//build/python/python_library.gni")
import("//build/python/python_mobly_test.gni")
import("//build/testing/environments.gni")
if (is_host) {
python_host_test("mem_digest_test") {
main_source = "mem_digest_test.py"
#TODO(b/361301238): Either delete these scripts or add type annotation.
enable_mypy = false
sources = [
"digest.py",
"mem_digest.py",
"snapshot.py",
]
extra_args = [
"--test_dir_path",
rebase_path("testdata", root_build_dir),
]
}
python_mobly_test("components_sql_test") {
main_source = "components_sql_test.py"
sources = [ "components_sql.py" ]
libraries = [
"//src/testing/end_to_end/honeydew",
"//src/testing/end_to_end/mobly_base_tests:fuchsia_base_test",
]
environments = [
# Only enable for AEMU-x64 as host-tests aren't supported on QEMU-arm64.
aemu_env,
vim3_env,
]
}
}
group("tests") {
testonly = true
public_deps = [
":mem_digest_test($host_toolchain)",
"dataclasses_json_lite:tests",
"debug_json:tests",
"images_json:tests",
"multidict:tests",
"smaps:tests",
"snapshots:tests",
]
}