x86: add qemu_x86_coverage target
Builds with coverage enabled are in a continuous state of bit-rot as no CI job enables it. Introduce a dedicated x86 target that builds with coverage enabled. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
324ae6fd56
commit
55ff4ba5df
3 changed files with 42 additions and 0 deletions
6
boards/x86/qemu_x86/qemu_x86_coverage.dts
Normal file
6
boards/x86/qemu_x86/qemu_x86_coverage.dts
Normal file
|
@ -0,0 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2019 Intel Corporation.
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "qemu_x86.dts"
|
13
boards/x86/qemu_x86/qemu_x86_coverage.yaml
Normal file
13
boards/x86/qemu_x86/qemu_x86_coverage.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
identifier: qemu_x86_coverage
|
||||
name: QEMU Emulation for X86 (Code coverage enabled)
|
||||
type: qemu
|
||||
arch: x86
|
||||
simulation: qemu
|
||||
toolchain:
|
||||
- zephyr
|
||||
- xtools
|
||||
testing:
|
||||
default: true
|
||||
ignore_tags:
|
||||
- net
|
||||
- bluetooth
|
23
boards/x86/qemu_x86/qemu_x86_coverage_defconfig
Normal file
23
boards/x86/qemu_x86/qemu_x86_coverage_defconfig
Normal file
|
@ -0,0 +1,23 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_X86=y
|
||||
CONFIG_SOC_IA32=y
|
||||
CONFIG_BOARD_QEMU_X86=y
|
||||
CONFIG_CPU_MINUTEIA=y
|
||||
CONFIG_IA32_LEGACY_IO_PORTS=y
|
||||
CONFIG_HPET_TIMER=y
|
||||
CONFIG_HPET_TIMER_IRQ=2
|
||||
CONFIG_PIC_DISABLE=y
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_NS16550=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=25000000
|
||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||
CONFIG_XIP=y
|
||||
CONFIG_X86_MMU=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_SCHED_SCALABLE=y
|
||||
CONFIG_WAITQ_SCALABLE=y
|
||||
CONFIG_COVERAGE=y
|
Loading…
Add table
Add a link
Reference in a new issue