Skip to content
Permalink
Browse files

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>
  • Loading branch information...
andrewboie committed May 2, 2019
1 parent 324ae6f commit 55ff4ba5df509cfeb7fb5747d845acfa06ab0e52
@@ -0,0 +1,6 @@
/*
* Copyright (c) 2019 Intel Corporation.
* SPDX-License-Identifier: Apache-2.0
*/

#include "qemu_x86.dts"
@@ -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
@@ -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

0 comments on commit 55ff4ba

Please sign in to comment.
You can’t perform that action at this time.