Skip to content

Commit 1d31d53

Browse files
sulixshuahkh
authored andcommitted
kunit: qemu_configs: Disable faulting tests on 32-bit SPARC
The 32-bit sparc configuration (--arch sparc) crashes on the kunit_fault_test. It's known that some architectures don't handle deliberate segfaults in kernel mode well, so there's a config switch to disable tests which rely upon it by default. Use this for the sparc config, making sure the default config for it passes. Link: https://lore.kernel.org/r/[email protected] Fixes: 87c9c16 ("kunit: tool: add support for QEMU") Signed-off-by: David Gow <[email protected]> Reviewed-by: Thomas Weißschuh <[email protected]> Tested-by: Thomas Weißschuh <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 8fe34da commit 1d31d53

File tree

1 file changed

+1
-0
lines changed
  • tools/testing/kunit/qemu_configs

1 file changed

+1
-0
lines changed

tools/testing/kunit/qemu_configs/sparc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
QEMU_ARCH = QemuArchParams(linux_arch='sparc',
44
kconfig='''
5+
CONFIG_KUNIT_FAULT_TEST=n
56
CONFIG_SPARC32=y
67
CONFIG_SERIAL_SUNZILOG=y
78
CONFIG_SERIAL_SUNZILOG_CONSOLE=y

0 commit comments

Comments
 (0)