1# Copyright 2021 The ChromiumOS Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from typing import Dict 6 7BUILD_FEATURES: Dict[str, str] = { 8 "x86_64-unknown-linux-gnu": "linux-x86_64", 9 "aarch64-unknown-linux-gnu": "linux-aarch64", 10 "armv7-unknown-linux-gnueabihf": "linux-armhf", 11 "x86_64-pc-windows-gnu": "win64", 12 "x86_64-pc-windows-msvc": "win64", 13} 14 15# Configuration of integration tests 16# 17# The configuration below only applies to integration tests to fine tune which tests can be run 18# on which platform (e.g. aarch64 emulation does not pass kvm tests). 19# 20# This configuration does NOT apply to unit tests. 21 22# List of integration tests that will ask for root privileges. 23ROOT_TESTS = [ 24 "package(net_util) & binary(unix_tap)", 25] 26 27# Do not run these tests on any platform. 28DO_NOT_RUN = [ 29 "package(io_uring)", 30] 31 32# Do not run these tests for aarch64 builds 33DO_NOT_RUN_AARCH64 = [ 34 "package(hypervisor)", 35 "package(e2e_tests)", 36 "package(kvm)", 37] 38 39# Do not run these tests for win64 builds 40DO_NOT_RUN_WIN64 = [ 41 "package(e2e_tests)", 42] 43 44# Avoid e2e tests and benchmarks to be automatically included as unit tests 45E2E_TESTS = [ 46 "package(e2e_tests)", 47] 48